User information disclosed via API
An API endpoint exposed system account information without authentication, including user emails and organisational details such as IP addresses and physical locations. An attacker could view this personal information and potentially use it to identify targets.
- Triaged in 29 hours
- Fixed in 30 days
- Disclosed after 16 months
Summary:
It appears that the requests for "system accounts" are fully available via an API endpoint that does not require authentication.
The main issue is that among the information disclosed are user emails (many with gmail addresses) but the individual applications also include information that the user provides about their organization/integration such as IP addresses, physical locations and whether or not the system uses okta.
Steps To Reproduce:
Navigate to the following URL: https://sam.gov/api/prod/iam/cws/v1/applications/
Supporting Material/References:
Help desk article about what the system accounts are
Here is an example object of what is returned from the endpoint:
{"uid":12345,"systemAccountName":"POC","interfacingSystemVersion":"beta.POCcom","systemDescriptionAndFunction":"example of data thgat is leaked","systemAdmins":"[]","systemManagers":"[{\"commonName\":\"James Bond\",\"uid\":\"[email protected]\",\"mail\":\"[email protected]\",\"name\":\"James Bond\",\"isGov\":false,\"id\":\"[email protected]\"}]","contractOpportunities":"","contractData":"","entityInformation":"","federalHierarchy":"","wageDeterminations":"","assistanceListings":"","referenceData":"","ipAddress":"","typeOfConnection":"","physicalLocation":"","securityOfficialName":"","securityOfficialEmail":"","uploadAto":"","authorizationConfirmation":false,"authorizingOfficialName":"","submittedDate":"2021-06-06T06:49:17.130+0000","submittedBy":"[email protected]","securityApprover":"","rejectedBy":"","rejectionReason":"","applicationStatus":"Draft","isGov":false,"migratedToOkta":false,"fips199Categorization":""}
Impact
A threat actor could view personal information about users on the platform.
It is also theoretically possible that a threat actor could use information gathered from this endpoint to identify future targets and footholds.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the API endpoint lacked any authentication or authorisation check, allowing unauthenticated access to sensitive account data.
Impact
A threat actor could view personal information about users on the platform and theoretically use it to identify future targets and footholds.
What the attacker needed
None
How it was found
- Navigate to the provided API URL.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
An API endpoint is a web address that returns data in a machine-readable format. Here, anyone could visit that address and see details about user accounts, including email addresses and where organisations are located, without logging in. This is like leaving a customer list on a public noticeboard.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.