CVE-2016-1497 - Exposure of Sensitive Information to an Unauthorized Actor

Severity

40%

Complexity

80%

Confidentiality

48%

The Configuration utility in F5 BIG-IP systems 11.0.x, 11.1.x, 11.2.x before 11.2.1 HF16, 11.3.x, 11.4.x before 11.4.1 HF10, 11.5.x before 11.5.4 HF2, 1.6.x before 11.6.1, and 12.0.0 before HF1 allows remote administrators to read Access Policy Manager (APM) access logs via unspecified vectors.

The Configuration utility in F5 BIG-IP systems 11.0.x, 11.1.x, 11.2.x before 11.2.1 HF16, 11.3.x, 11.4.x before 11.4.1 HF10, 11.5.x before 11.5.4 HF2, 1.6.x before 11.6.1, and 12.0.0 before HF1 allows remote administrators to read Access Policy Manager (APM) access logs via unspecified vectors.

CVSS 3.0 Base Score 4.9. CVSS Attack Vector: network. CVSS Attack Complexity: low. CVSS Vector: (CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N).

CVSS 2.0 Base Score 4. CVSS Attack Vector: network. CVSS Attack Complexity: low. CVSS Vector: (AV:N/AC:L/Au:S/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

F5

First reported 8 years ago

2016-08-26 14:59:00

Last updated 5 years ago

2019-06-06 15:11:00

Affected Software

F5 BIG-IP WebAccelerator 11.0.0

11.0.0

F5 BIG-IP WebAccelerator 11.1.0

11.1.0

F5 BIG-IP WebAccelerator 11.2.0

11.2.0

F5 Networks BIGIP WebAccelerator 11.2.1

11.2.1

F5 Networks BIGIP WebAccelerator 11.3.0

11.3.0

F5 BIG-IP Link Controller 11.0.0

11.0.0

F5 BIG-IP Link Controller 11.1.0

11.1.0

F5 BIG-IP Link Controller 11.2.0

11.2.0

F5 Networks BIGIP Link Controller 11.2.1

11.2.1

F5 BIG-IP Link Controller 11.3.0

11.3.0

F5 BIG-IP Link Controller 11.4.0

11.4.0

F5 BIG-IP Link Controller 11.4.1

11.4.1

F5 BIG-IP Link Controller 11.5.0

11.5.0

F5 Networks BIGIP Link Controller 11.5.1

11.5.1

F5 BIG-IP Link Controller 11.5.2

11.5.2

F5 BIG-IP Link Controller 11.5.3

11.5.3

F5 Big-IP Link Controller 11.5.4

11.5.4

F5 BIG-IP Link Controller 11.6.0

11.6.0

F5 BIG-IP Link Controller 12.0.0

12.0.0

F5 Big-IP Access Policy Manager (APM) 11.0.0

11.0.0

F5 Big-IP Access Policy Manager (APM) 11.1.0

11.1.0

F5 Big-IP Access Policy Manager (APM) 11.2.0

11.2.0

F5 Big-IP Access Policy Manager (APM) 11.2.1

11.2.1

F5 Big-IP Access Policy Manager (APM) 11.3.0

11.3.0

F5 BIG-IP Access Policy Manager 11.4.0

11.4.0

F5 BIG-IP Access Policy Manager 11.4.1

11.4.1

F5 BIG-IP Access Policy Manager 11.5.0

11.5.0

F5 Big-IP Access Policy Manager (APM) 11.5.1

11.5.1

F5 BIG-IP Access Policy Manager 11.5.2

11.5.2

F5 BIG-IP Access Policy Manager 11.5.3

11.5.3

F5 Big-IP Access Policy Manager (APM) 11.5.4

11.5.4

F5 Big-IP Access Policy Manager (APM) 11.6.0

11.6.0

F5 BIG-IP Access Policy Manager (APM) 12.0.0

12.0.0

F5 BIG-IP Application Security Manager (PSM) 11.0.0

11.0.0

F5 BIG-IP Application Security Manager (PSM) 11.1.0

11.1.0

F5 BIG-IP Application Security Manager (ASM) 11.2.0

11.2.0

F5 Networks BIG-IP Application Security Manager 11.2.1

11.2.1

F5 BIG-IP Application Security Manager 11.3.0

11.3.0

F5 BIG-IP Application Security Manager 11.4.0

11.4.0

F5 BIG-IP Application Security Manager 11.4.1

11.4.1

F5 BIG-IP Application Security Manager 11.5.0

11.5.0

F5 Networks BIG-IP Application Security Manager 11.5.1

11.5.1

F5 BIG-IP Application Security Manager 11.5.2

11.5.2

F5 BIG-IP Application Security Manager 11.5.3

11.5.3

F5 Big-IP Application Security Manager 11.5.4

11.5.4

F5 BIG-IP Application Security Manager 11.6.0

11.6.0

F5 BIG-IP Application Security Manager (ASM) 12.0.0

12.0.0

F5 BIG-IP Domain Name System 12.0.0

12.0.0

F5 BIG-IP Global Traffic Manager (GTM) 11.0.0

11.0.0

F5 BIG-IP Global Traffic Manager (GTM) 11.1.0

11.1.0

F5 BIG-IP Global Traffic Manager (GTM) 11.2.0

11.2.0

F5 Networks BIGIP Global Traffic Manager 11.2.1

11.2.1

F5 BIG-IP Global Traffic Manager 11.3.0

11.3.0

F5 BIG-IP Global Traffic Manager 11.4.0

11.4.0

F5 BIG-IP Global Traffic Manager 11.4.1

11.4.1

F5 BIG-IP Global Traffic Manager 11.5.0

11.5.0

F5 Networks BIGIP Global Traffic Manager 11.5.1

11.5.1

F5 BIG-IP Global Traffic Manager 11.5.2

11.5.2

F5 BIG-IP Global Traffic Manager 11.5.3

11.5.3

F5 Big-IP Global Traffic Manager 11.5.4

11.5.4

F5 BIG-IP Global Traffic Manager 11.6.0

11.6.0

F5 BIG-IP Local Traffic Manager (LTM) 11.0.0

11.0.0

F5 BIG-IP Local Traffic Manager (LTM) 11.1.0

11.1.0

F5 BIG-IP Local Traffic Manager (LTM)11.2.0

11.2.0

F5 Networks BIGIP Local Traffic Manager (LTM) 11.2.1

11.2.1

F5 BIG-IP Local Traffic Manager 11.3.0

11.3.0

F5 BIG-IP Local Traffic Manager 11.4.0

11.4.0

F5 BIG-IP Local Traffic Manager 11.4.1

11.4.1

F5 BIG-IP Local Traffic Manager 11.5.0

11.5.0

F5 Networks BIGIP Local Traffic Manager (LTM) 11.5.1

11.5.1

F5 BIG-IP Local Traffic Manager 11.5.2

11.5.2

F5 BIG-IP Local Traffic Manager 11.5.3

11.5.3

F5 Big-IP Local Traffic Manager 11.5.4

11.5.4

F5 BIG-IP Local Traffic Manager 11.6.0

11.6.0

F5 BIG-IP Local Traffic Manager (LTM) 12.0.0

12.0.0

F5 Networks BIGIP Application Acceleration Manager 11.4.0

11.4.0

F5 BIG-IP Application Acceleration Manager 11.4.1

11.4.1

F5 BIG-IP Application Acceleration Manager 11.5.0

11.5.0

F5 Networks BIGIP Application Acceleration Manager 11.5.1

11.5.1

F5 BIG-IP Application Acceleration Manager 11.5.2

11.5.2

F5 BIG-IP Application Acceleration Manager 11.5.3

11.5.3

F5 Big-IP Application Acceleration Manager 11.5.4

11.5.4

F5 BIG-IP Application Acceleration Manager 11.6.0

11.6.0

F5 BIG-IP Application Acceleration Manager (AAM) 12.0.0

12.0.0

F5 BIG-IP Protocol Security Module (PSM) 11.0.0

11.0.0

F5 BIG-IP Protocol Security Module (PSM) 11.1.0

11.1.0

F5 BIG-IP Protocol Security Module (PSM) 11.2.0

11.2.0

F5 Networks BIGIP Protocol Security Module 11.2.1

11.2.1

F5 BIG-IP Protocol Security Module (PSM) 11.3.0

11.3.0

F5 BIG-IP Protocol Security Module (PSM) 11.4.0

11.4.0

F5 Networks BIGIP Protocol Security Module 11.4.1

11.4.1

F5 BIG-IP Analytics 11.0.0

11.0.0

F5 BIG-IP Analytics 11.1.0

11.1.0

F5 BIG-IP Analytics 11.2.0

11.2.0

F5 Networks BIGIP Analytics 11.2.1

11.2.1

F5 BIG-IP Analytics 11.3.0

11.3.0

F5 BIG-IP Analytics 11.4.0

11.4.0

F5 BIG-IP Analytics 11.4.1

11.4.1

F5 BIG-IP Analytics 11.5.0

11.5.0

F5 Networks BIGIP Analytics 11.5.1

11.5.1

F5 BIG-IP Analytics 11.5.2

11.5.2

F5 BIG-IP Analytics 11.5.3

11.5.3

F5 Big-IP Analytics 11.5.4

11.5.4

F5 BIG-IP Analytics 11.6.0

11.6.0

F5 BIG-IP Analytics 12.0.0

12.0.0

F5 Networks BIGIP Advanced Firewall Manager 11.2.1

11.2.1

F5 BIG-IP Advanced Firewall Manager 11.3.0

11.3.0

F5 BIG-IP Advanced Firewall Manager 11.4.0

11.4.0

F5 BIG-IP Advanced Firewall Manager 11.4.1

11.4.1

F5 BIG-IP Advanced Firewall Manager 11.5.0

11.5.0

F5 Networks BIGIP Advanced Firewall Manager 11.5.1

11.5.1

F5 BIG-IP Advanced Firewall Manager 11.5.2

11.5.2

F5 BIG-IP Advanced Firewall Manager 11.5.3

11.5.3

F5 Big-IP Advanced Firewall Manager 11.5.4

11.5.4

F5 BIG-IP Advanced Firewall Manager 11.6.0

11.6.0

F5 BIG-IP Advanced Firewall Manager (APM) 12.0.0

12.0.0

F5 BIG-IP Wan Optimization Manager (WOM) 11.0.0

11.0.0

F5 BIG-IP Wan Optimization Manager (WOM) 11.1.0

11.1.0

F5 BIG-IP WAN Optimization Manager (WOM) 11.2.0

11.2.0

F5 Networks BIGIP WAN Optimization Manager 11.2.1

11.2.1

F5 Networks BIGIP WAN Optimization Manager 11.3.0

11.3.0

F5 Networks BIGIP Policy Enforcement Manager 11.3.0

11.3.0

F5 BIG-IP Policy Enforcement Manager 11.4.0

11.4.0

F5 BIG-IP Policy Enforcement Manager 11.4.1

11.4.1

F5 BIG-IP Policy Enforcement Manager 11.5.0

11.5.0

F5 Networks BIGIP Policy Enforcement Manager 11.5.1

11.5.1

F5 BIG-IP Policy Enforcement Manager 11.5.2

11.5.2

F5 Networks BIG-IP Policy Enforcement Manager 11.5.3

11.5.3

F5 Big-IP Policy Enforcement Manager 11.5.4

11.5.4

F5 BIG-IP Policy Enforcement Manager 11.6.0

11.6.0

F5 BIG-IP Policy Enforcement Manager (PEM) 12.0.0

12.0.0

F5 BIG-IP IP Edge Gateway 11.0.0

11.0.0

F5 BIG-IP Edge Gateway 11.1.0

11.1.0

F5 BIG-IP Edge Gateway 11.2.0

11.2.0

F5 BIG-IP IP Edge Gateway 11.2.1

11.2.1

F5 BIG-IP IP Edge Gateway 11.3.0

11.3.0

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.