Skip to main content

Business information leak

Description

It is possible to obtain business information, such as:

  • Username list
  • Strategic information
  • Employees information
  • Clients information
  • Providers information

Impact

Obtain sensitive information to create new attack vectors.

Recommendation

Based on the classification of the information found, set the necessary controls to guarantee that information is accessible only to right users.

Threat

Authenticathed attacker from the Internet.

Expected Remediation Time

⌚ 30 minutes.

Score

Default score using CVSS 3.1. It may change depending on the context of the vulnerability.

Base

  • Attack vector: N
  • Attack complexity: L
  • Privileges required: N
  • User interaction: N
  • Scope: U
  • Confidentiality: L
  • Integrity: N
  • Availability: N

Temporal

  • Exploit code madurity: X
  • Remediation level: U
  • Report confidence: C

Result

  • Vector string: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:X/RL:U/RC:C
  • Score:
    • Base: 5.3
    • Temporal: 5.3
  • Severity:
    • Base: Medium
    • Temporal: Medium

Code Examples

Compliant code

Validate the user is authorized to access sensitive information

function retrieveInfo(userId, sessionCookie){
if(isUserLoggedIn(userId, sessionCokie) && isUserAdmin(userId)){
usersInfo = getUserList();
displayInfo(usersInfo);
}
}

Non compliant code

There is a method in the application that displays userInformation without verifying proper credentials

function retrieveInfo(userId){
if(userId != ""){
usersInfo = getUserList();
displayInfo(usersInfo);
}
}

Requirements

free trial

Search for vulnerabilities in your apps for free with our automated security testing! Start your 21-day free trial and discover the benefits of our Continuous Hacking Machine Plan. If you prefer a full service that includes the expertise of our ethical hackers, don't hesitate to contact us for our Continuous Hacking Squad Plan.