Looking for the vulnerability index of Invicti's legacy products?
Oracle Reports Services RWServlet environment variables disclosure - Vulnerability Database

Oracle Reports Services RWServlet environment variables disclosure

Description

Oracle Reports Services, a component of Oracle Fusion Middleware, exposes an administrative servlet endpoint (RWServlet) with a 'showenv' function that is publicly accessible without authentication. This endpoint reveals the complete set of system environment variables from the server running Oracle Reports Services. Environment variables often contain sensitive configuration data including file paths, system architecture details, user information, and potentially credentials or API keys used by the application.

Remediation

Restrict access to the RWServlet showenv endpoint to authorized administrators only. Implement one or more of the following controls:

1. Disable the showenv function if it is not required for operational purposes by modifying the Oracle Reports Services configuration.

2. Implement authentication and authorization controls on the RWServlet endpoint to ensure only authenticated administrators can access diagnostic functions.

3. Configure network-level access controls such as firewall rules or web application firewall (WAF) policies to block external access to administrative servlet paths (e.g., /reports/rwservlet).

4. Use web server configuration to restrict access by IP address or require authentication. For Apache HTTP Server, add location-based restrictions in httpd.conf or .htaccess files.

5. Review environment variables to ensure no sensitive credentials or secrets are stored in them. Use secure credential management solutions instead.

Related Vulnerabilities