UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

Java software on production web servers must be limited to class files and the JAVA virtual machine.


Overview

Finding ID Version Rule ID IA Controls Severity
V-2265 WG490 A22 SV-33032r1_rule ECSC-1 Low
Description
From the source code in a .java or a .jpp file, the Java compiler produces a binary file with an extension of .class. The .java or .jpp file would, therefore, reveal sensitive information regarding an application’s logic and permissions to resources on the server. By contrast, the .class file, because it is intended to be machine independent, is referred to as bytecode. Bytecodes are run by the Java Virtual Machine (JVM), or the Java Runtime Environment (JRE), via a browser configured to permit Java code.
STIG Date
APACHE SITE 2.2 for Unix 2013-12-19

Details

Check Text ( C-33715r1_chk )
Enter the commands:

find / -name *.java

find / -name *.jpp

If either file type is found, this is a finding.
Fix Text (F-29347r1_fix)
Remove the unnecessary files from the web server.