Original release date:January 17, 2007
Last revised:January 17, 2007
Discovered by:Vicente Aguilera Díaz
The Reports Web CGI or Web Cartridge is required for the Reports Server when using the Oracle Application Server (OAS) to process report requests from Web clients.
Improper validation in "genuser" parameter allows to inject arbitrary code script/HTML that will be executed in the client browser.
This is specially serious in authentication forms where a malicious user can obtain the credentials of authentication of other users.
PROOF OF CONCEPT
This request return a page with an authentication form (with User Name, Password, and Database fields).
With a POST method (the rwcgi60 accept both methods: GET and POST), the user send:
A malicious user can modify the value of the "genuser" parameter and inject arbitrary script/HTML code:
-- Example 1 ---
http://<oracle-server>/dev60cgi/rwcgi60?showmap&server=<oracle-reports-server>&genuser=User Name<script>alert('Vulnerable to XSS attack!');</script>
--- Example 2 ---
An attacker can spoof the session of other authenticated users, obtains his authentication credentials, or deface the authentication form page.
Oracle9i Application Server Release 2, version 126.96.36.199
The January 2007 CPU (Critical Patch Update) contain fixes for this vulnerability.
This vulnerability has been discovered and reported by Vicente Aguilera Díaz (vaguilera (at) isecauditors (dot) com).
January 17, 2007: Initial release.
February 02, 2007: Vendor response actualization.
April 23, 2006: Vulnerability acquired by Internet Security Auditors (www.isecauditors.com).
April 24, 2006: Initial vendor notification sent.
April 29, 2006: Initial response of the vendor.
January 16, 2007: The vendor fixed the vulnerability in the CPU.
The information contained within this advisory is supplied "as-is" with no warranties or guarantees of fitness of use or otherwise. Internet Security Auditors, S.L. accepts no responsibility for any damage caused by the use or misuse of this information.