CVE-2012-5851 : Detail

CVE-2012-5851

Cross-site Scripting
A03-Injection
0.13%V3
Network
2012-11-15
10h00 +00:00
2017-08-28
10h57 +00:00
Notifications for a CVE
Stay informed of any changes for a specific CVE.
Notifications manage

CVE Descriptions

html/parser/XSSAuditor.cpp in WebCore in WebKit, as used in Google Chrome through 22 and Safari 5.1.7, does not consider all possible output contexts of reflected data, which makes it easier for remote attackers to bypass a cross-site scripting (XSS) protection mechanism via a crafted string, aka rdar problem 12019108.

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 nvd@nist.gov

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

Publication date : 2012-07-18 22h00 +00:00
Author : Tushar Dalvi
EDB Verified : Yes

source: https://www.securityfocus.com/bid/56570/info WebKit is prone to a security-bypass vulnerability. An attacker can exploit this vulnerability to bypass the cross-site scripting filter mechanism. Successful exploits may allow attackers to execute arbitrary script code and steal cookie-based authentication credentials. Code in test.jsp: <title>Test Page</title> <script> var foo = "<%= request.getParameter("foo") %>"; document.write("<text>Welcome "+ foo + "</text>"); </script> Example URI: http://www.domain.com/test.jsp?foo=2"; alert(document.cookie); var a="1

Products Mentioned

Configuraton 0

Apple>>Webkit >> Version *

Google>>Chrome >> Version To (including) 22.0.1229.96

Google>>Chrome >> Version 22.0.1229.0

Google>>Chrome >> Version 22.0.1229.1

Google>>Chrome >> Version 22.0.1229.2

Google>>Chrome >> Version 22.0.1229.3

Google>>Chrome >> Version 22.0.1229.4

Google>>Chrome >> Version 22.0.1229.6

Google>>Chrome >> Version 22.0.1229.7

Google>>Chrome >> Version 22.0.1229.8

Google>>Chrome >> Version 22.0.1229.9

Google>>Chrome >> Version 22.0.1229.10

Google>>Chrome >> Version 22.0.1229.11

Google>>Chrome >> Version 22.0.1229.12

Google>>Chrome >> Version 22.0.1229.14

Google>>Chrome >> Version 22.0.1229.16

Google>>Chrome >> Version 22.0.1229.17

Google>>Chrome >> Version 22.0.1229.18

Google>>Chrome >> Version 22.0.1229.20

Google>>Chrome >> Version 22.0.1229.21

Google>>Chrome >> Version 22.0.1229.22

Google>>Chrome >> Version 22.0.1229.23

Google>>Chrome >> Version 22.0.1229.24

Google>>Chrome >> Version 22.0.1229.25

Google>>Chrome >> Version 22.0.1229.26

Google>>Chrome >> Version 22.0.1229.27

Google>>Chrome >> Version 22.0.1229.28

Google>>Chrome >> Version 22.0.1229.29

Google>>Chrome >> Version 22.0.1229.31

Google>>Chrome >> Version 22.0.1229.32

Google>>Chrome >> Version 22.0.1229.33

Google>>Chrome >> Version 22.0.1229.35

Google>>Chrome >> Version 22.0.1229.36

Google>>Chrome >> Version 22.0.1229.37

Google>>Chrome >> Version 22.0.1229.39

Google>>Chrome >> Version 22.0.1229.48

Google>>Chrome >> Version 22.0.1229.49

Google>>Chrome >> Version 22.0.1229.50

Google>>Chrome >> Version 22.0.1229.51

Google>>Chrome >> Version 22.0.1229.52

Google>>Chrome >> Version 22.0.1229.53

Google>>Chrome >> Version 22.0.1229.54

Google>>Chrome >> Version 22.0.1229.55

Google>>Chrome >> Version 22.0.1229.56

Google>>Chrome >> Version 22.0.1229.57

Google>>Chrome >> Version 22.0.1229.58

Google>>Chrome >> Version 22.0.1229.59

Google>>Chrome >> Version 22.0.1229.60

Google>>Chrome >> Version 22.0.1229.62

Google>>Chrome >> Version 22.0.1229.63

Google>>Chrome >> Version 22.0.1229.64

Google>>Chrome >> Version 22.0.1229.65

Google>>Chrome >> Version 22.0.1229.67

Google>>Chrome >> Version 22.0.1229.76

Google>>Chrome >> Version 22.0.1229.78

Google>>Chrome >> Version 22.0.1229.79

Google>>Chrome >> Version 22.0.1229.89

Google>>Chrome >> Version 22.0.1229.91

Google>>Chrome >> Version 22.0.1229.92

Google>>Chrome >> Version 22.0.1229.94

Google>>Chrome >> Version 22.0.1229.95

Configuraton 0

Apple>>Safari >> Version 5.1.7

Apple>>Webkit >> Version *

References