CVE-2013-0909 - Exposure of Sensitive Information to an Unauthorized Actor

Severity

50%

Complexity

99%

Confidentiality

48%

The XSS Auditor in Google Chrome before 25.0.1364.152 allows remote attackers to obtain sensitive HTTP Referer information via unspecified vectors.

The XSS Auditor in Google Chrome before 25.0.1364.152 allows remote attackers to obtain sensitive HTTP Referer information via unspecified vectors.

CVSS 2.0 Base Score 5. CVSS Attack Vector: network. CVSS Attack Complexity: low. CVSS Vector: (AV:N/AC:L/Au:N/C:P/I:N/A:N).

Demo Examples

Exposure of Sensitive Information to an Unauthorized Actor

CWE-200

The following code checks validity of the supplied username and password and notifies the user of a successful or failed login.


               
}
}
print "Login Successful";
print "Login Failed - incorrect password";
print "Login Failed - unknown username";

In the above code, there are different messages for when an incorrect username is supplied, versus when the username is correct but the password is wrong. This difference enables a potential attacker to understand the state of the login function, and could allow an attacker to discover a valid username by trying different values until the incorrect password message is returned. In essence, this makes it easier for an attacker to obtain half of the necessary authentication credentials.

While this type of information may be helpful to a user, it is also useful to a potential attacker. In the above example, the message for both failed cases should be the same, such as:


               
"Login Failed - incorrect username or password"

Exposure of Sensitive Information to an Unauthorized Actor

CWE-200

This code tries to open a database connection, and prints any exceptions that occur.


               
}
openDbConnection();
//print exception message that includes exception message and configuration file location
echo 'Check credentials in config file at: ', $Mysql_config_location, '\n';

If an exception occurs, the printed message exposes the location of the configuration file the script is using. An attacker can use this information to target the configuration file (perhaps exploiting a Path Traversal weakness). If the file can be read, the attacker could gain credentials for accessing the database. The attacker may also be able to replace the file with a malicious one, causing the application to use an arbitrary database.

Exposure of Sensitive Information to an Unauthorized Actor

CWE-200

In the example below, the method getUserBankAccount retrieves a bank account object from a database using the supplied username and account number to query the database. If an SQLException is raised when querying the database, an error message is created and output to a log file.


               
}
return userAccount;
}
userAccount = (BankAccount)queryResult.getObject(accountNumber);
Logger.getLogger(BankManager.class.getName()).log(Level.SEVERE, logMessage, ex);

The error message that is created includes information about the database query that may contain sensitive information about the database or query logic. In this case, the error message will expose the table name and column names used in the database. This data could be used to simplify other attacks, such as SQL injection (CWE-89) to directly access the database.

Exposure of Sensitive Information to an Unauthorized Actor

CWE-200

This code stores location information about the current user:


               
}...
Log.e("ExampleActivity", "Caught exception: " + e + " While on User:" + User.toString());

When the application encounters an exception it will write the user object to the log. Because the user object contains location information, the user's location is also written to the log.

Exposure of Sensitive Information to an Unauthorized Actor

CWE-200

The following is an actual MySQL error statement:


               
Warning: mysql_pconnect(): Access denied for user: 'root@localhost' (Using password: N1nj4) in /usr/local/www/wi-data/includes/database.inc on line 4

The error clearly exposes the database credentials.

Exposure of Sensitive Information to an Unauthorized Actor

CWE-200

This code displays some information on a web page.


               
Social Security Number: <%= ssn %></br>Credit Card Number: <%= ccn %>

The code displays a user's credit card and social security numbers, even though they aren't absolutely necessary.

Exposure of Sensitive Information to an Unauthorized Actor

CWE-200

The following program changes its behavior based on a debug flag.


               
} %>

The code writes sensitive debug information to the client browser if the "debugEnabled" flag is set to true .

Exposure of Sensitive Information to an Unauthorized Actor

CWE-200

This code uses location to determine the user's current US State location.

First the application must declare that it requires the ACCESS_FINE_LOCATION permission in the application's manifest.xml:


               
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>

During execution, a call to getLastLocation() will return a location based on the application's location permissions. In this case the application has permission for the most accurate location possible:


               
deriveStateFromCoords(userCurrLocation);

While the application needs this information, it does not need to use the ACCESS_FINE_LOCATION permission, as the ACCESS_COARSE_LOCATION permission will be sufficient to identify which US state the user is in.

Overview

Type

Google Chrome

First reported 11 years ago

2013-03-05 21:55:00

Last updated 7 years ago

2017-09-19 01:35:00

Affected Software

Google Chrome 25.0.1364.0

25.0.1364.0

Google Chrome 25.0.1364.1

25.0.1364.1

Google Chrome 25.0.1364.2

25.0.1364.2

Google Chrome 25.0.1364.3

25.0.1364.3

Google Chrome 25.0.1364.5

25.0.1364.5

Google Chrome 25.0.1364.7

25.0.1364.7

Google Chrome 25.0.1364.8

25.0.1364.8

Google Chrome 25.0.1364.9

25.0.1364.9

Google Chrome 25.0.1364.10

25.0.1364.10

Google Chrome 25.0.1364.11

25.0.1364.11

Google Chrome 25.0.1364.12

25.0.1364.12

Google Chrome 25.0.1364.13

25.0.1364.13

Google Chrome 25.0.1364.14

25.0.1364.14

Google Chrome 25.0.1364.15

25.0.1364.15

Google Chrome 25.0.1364.16

25.0.1364.16

Google Chrome 25.0.1364.17

25.0.1364.17

Google Chrome 25.0.1364.18

25.0.1364.18

Google Chrome 25.0.1364.19

25.0.1364.19

Google Chrome 25.0.1364.20

25.0.1364.20

Google Chrome 25.0.1364.21

25.0.1364.21

Google Chrome 25.0.1364.22

25.0.1364.22

Google Chrome 25.0.1364.23

25.0.1364.23

Google Chrome 25.0.1364.24

25.0.1364.24

Google Chrome 25.0.1364.25

25.0.1364.25

Google Chrome 25.0.1364.26

25.0.1364.26

Google Chrome 25.0.1364.27

25.0.1364.27

Google Chrome 25.0.1364.28

25.0.1364.28

Google Chrome 25.0.1364.29

25.0.1364.29

Google Chrome 25.0.1364.30

25.0.1364.30

Google Chrome 25.0.1364.31

25.0.1364.31

Google Chrome 25.0.1364.32

25.0.1364.32

Google Chrome 25.0.1364.33

25.0.1364.33

Google Chrome 25.0.1364.34

25.0.1364.34

Google Chrome 25.0.1364.35

25.0.1364.35

Google Chrome 25.0.1364.36

25.0.1364.36

Google Chrome 25.0.1364.37

25.0.1364.37

Google Chrome 25.0.1364.38

25.0.1364.38

Google Chrome 25.0.1364.39

25.0.1364.39

Google Chrome 25.0.1364.40

25.0.1364.40

Google Chrome 25.0.1364.41

25.0.1364.41

Google Chrome 25.0.1364.42

25.0.1364.42

Google Chrome 25.0.1364.43

25.0.1364.43

Google Chrome 25.0.1364.44

25.0.1364.44

Google Chrome 25.0.1364.45

25.0.1364.45

Google Chrome 25.0.1364.46

25.0.1364.46

Google Chrome 25.0.1364.47

25.0.1364.47

Google Chrome 25.0.1364.48

25.0.1364.48

Google Chrome 25.0.1364.49

25.0.1364.49

Google Chrome 25.0.1364.50

25.0.1364.50

Google Chrome 25.0.1364.51

25.0.1364.51

Google Chrome 25.0.1364.52

25.0.1364.52

Google Chrome 25.0.1364.53

25.0.1364.53

Google Chrome 25.0.1364.54

25.0.1364.54

Google Chrome 25.0.1364.55

25.0.1364.55

Google Chrome 25.0.1364.56

25.0.1364.56

Google Chrome 25.0.1364.57

25.0.1364.57

Google Chrome 25.0.1364.58

25.0.1364.58

Google Chrome 25.0.1364.61

25.0.1364.61

Google Chrome 25.0.1364.62

25.0.1364.62

Google Chrome 25.0.1364.63

25.0.1364.63

Google Chrome 25.0.1364.65

25.0.1364.65

Google Chrome 25.0.1364.66

25.0.1364.66

Google Chrome 25.0.1364.67

25.0.1364.67

Google Chrome 25.0.1364.68

25.0.1364.68

Google Chrome 25.0.1364.70

25.0.1364.70

Google Chrome 25.0.1364.72

25.0.1364.72

Google Chrome 25.0.1364.73

25.0.1364.73

Google Chrome 25.0.1364.74

25.0.1364.74

Google Chrome 25.0.1364.75

25.0.1364.75

Google Chrome 25.0.1364.76

25.0.1364.76

Google Chrome 25.0.1364.77

25.0.1364.77

Google Chrome 25.0.1364.78

25.0.1364.78

Google Chrome 25.0.1364.79

25.0.1364.79

Google Chrome 25.0.1364.80

25.0.1364.80

Google Chrome 25.0.1364.81

25.0.1364.81

Google Chrome 25.0.1364.82

25.0.1364.82

Google Chrome 25.0.1364.84

25.0.1364.84

Google Chrome 25.0.1364.85

25.0.1364.85

Google Chrome 25.0.1364.86

25.0.1364.86

Google Chrome 25.0.1364.87

25.0.1364.87

Google Chrome 25.0.1364.88

25.0.1364.88

Google Chrome 25.0.1364.89

25.0.1364.89

Google Chrome 25.0.1364.90

25.0.1364.90

Google Chrome 25.0.1364.91

25.0.1364.91

Google Chrome 25.0.1364.92

25.0.1364.92

Google Chrome 25.0.1364.93

25.0.1364.93

Google Chrome 25.0.1364.95

25.0.1364.95

Google Chrome 25.0.1364.98

25.0.1364.98

Google Chrome 25.0.1364.99

25.0.1364.99

Google Chrome 25.0.1364.108

25.0.1364.108

Google Chrome 25.0.1364.110

25.0.1364.110

Google Chrome 25.0.1364.112

25.0.1364.112

Google Chrome 25.0.1364.113

25.0.1364.113

Google Chrome 25.0.1364.114

25.0.1364.114

Google Chrome 25.0.1364.115

25.0.1364.115

Google Chrome 25.0.1364.116

25.0.1364.116

Google Chrome 25.0.1364.117

25.0.1364.117

Google Chrome 25.0.1364.118

25.0.1364.118

Google Chrome 25.0.1364.119

25.0.1364.119

Google Chrome 25.0.1364.120

25.0.1364.120

Google Chrome 25.0.1364.121

25.0.1364.121

Google Chrome 25.0.1364.122

25.0.1364.122

Google Chrome 25.0.1364.123

25.0.1364.123

Google Chrome 25.0.1364.124

25.0.1364.124

Google Chrome 25.0.1364.125

25.0.1364.125

Stay updated

ExploitPedia is constantly evolving. Sign up to receive a notification when we release additional functionality.

Get in touch

If you'd like to report a bug or have any suggestions for improvements then please do get in touch with us using this form. We will get back to you as soon as we can.