// back

Oracle Secure Backup Administration Server common.php Command Injection Vulnerability

07.07.09

BACKGROUND

Oracle Secure Backup is a network backup system for Oracle Databases. For more information, see:

http://www.oracle.com/database/secure-backup.html

DESCRIPTION

Remote exploitation of a command injection vulnerability in the authentication component of Oracle Corp.'s Secure Backup Administration Server could allow an unauthenticated attacker to bypass authentication or to execute arbitrary commands in the context of the running server.

This vulnerability exists in the authenticate() function of php/common.php. This function is called from the login.php script that authenticates a user attempting to use the service. The script fails to sanitize the input from the Web form when verifying that the user has permission to use the service. Since the user name is used as part of a command run in a shell by the Web interface, if an attacker inserts a shell command separator meta-character followed by a command to execute and another command separator, the command is executed.

This is similar as vulnerability in CVE-2008-4006, but the patch did not correctly filter all shell meta characters and still allows some shell meta characters to be injected.

ANALYSIS

Exploitation allows an attacker to bypass authentication or execute arbitrary shell commands in the context of the web server process. Due to the limited shell meta characters which can be injected, the command injection capability is limited. The authentication bypass scenario is more likely. By combining with other post authentication command injection vulnerabilities iDefense reported, system compromise still can be achieved.

DETECTION

Oracle Corp.'s Secure Backup version 10.2.0.3 for Linux and Secure Backup version 10.2.0.3 for Windows have been confirmed vulnerable. Secure Backup version 10.3 is not affected. Other versions and other platforms may also be affected.

WORKAROUND

Block access to the httpd interface of vulnerable servers.

VENDOR RESPONSE

Oracle has released a patch which addresses this issue. Information about vendor updates can be found by clicking on the URLs shown.

http://www.oracle.com/technology/deploy/security/critical-patch-updates/cpujul2009.html

CVE INFORMATION

The Common Vulnerabilities and Exposures (CVE) project has assigned the name CVE-2009-1977 to this issue. This is a candidate for inclusion in the CVE list (http://cve.mitre.org/), which standardizes names for security problems.

DISCLOSURE TIMELINE

08/26/2009 - Vendor POC request.
09/11/2009 - iDefense key request.
09/17/2009 - Received key from Vendor.
09/17/2009 - Sent POC to Vendor.
09/18/2009 - Vendor response. Assigned tracking no# 15473165.
07/07/2009 - Public disclosure

CREDIT

This vulnerability was reported to iDefense by Janek Vind.

Get paid for vulnerability research
http://labs.idefense.com/methodology/vulnerability/vcp.php

Free tools, research and upcoming events
http://labs.idefense.com/

LEGAL NOTICES

Copyright © 2010 Verisign, Inc.

Permission is granted for the redistribution of this alert electronically. It may not be edited in any way without the express written consent of iDefense. If you wish to reprint the whole or any part of this alert in any other medium other than electronically, please e-mail customer service for permission.

Disclaimer: The information in the advisory is believed to be accurate at the time of publishing based on currently available information. Use of the information constitutes acceptance for use in an AS IS condition. There are no warranties with regard to this information. Neither the author nor the publisher accepts any liability for any direct, indirect, or consequential loss or damage arising from use of, or reliance on, this information.