Java software installed on the production web server must be limited to .class files and the Java Virtual Machine.

From IIS 7.0 Server STIG

Part of WG490

SV-32640r2_rule Java software installed on the production web server must be limited to .class files and the Java Virtual Machine.

Vulnerability discussion

Source code for a Java program is, many times, stored in files with either .java or .jpp file extensions. From the .java and .jpp files the Java compiler produces a binary file with an extension of .class. The .java or .jpp file could therefore reveal sensitive information regarding an application's logic and permissions to resources on the server.

Check content

Search the system for files with either .java or .jpp extensions. If files with .java or .jpp extensions are found, this is a finding.

Fix text

Remove all files from the web server with either .java and .jpp extensions.

Pro Tips

Lavender hyperlinks in small type off to the right (of CSS class id, if you view the page source) point to globally unique URIs for each document and item. Copy the link location and paste anywhere you need to talk unambiguously about these things.

You can obtain data about documents and items in other formats. Simply provide an HTTP header Accept: text/turtle or Accept: application/rdf+xml.

Powered by sagemincer