Exploiting vulnerabilities in Johnson & Johnson web apps#2427
Open
carlospolop wants to merge 1 commit into
Open
Exploiting vulnerabilities in Johnson & Johnson web apps#2427carlospolop wants to merge 1 commit into
carlospolop wants to merge 1 commit into
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://eaton-works.com/2026/06/24/jnj-webapp-hacks Content Categories: Based on the analysis, this content was categorized under "Pentesting Web -> Web API Pentesting / Login Bypass / OAuth to Account Takeover; possibly add notes under Browser-exposed secrets, localStorage identity spoofing, and client-side SSO/MSAL authorization bypass testing". Repository Maintenance:
Review Notes:
Bot Version: HackTricks News Bot v1.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 Automated Content Update
This PR was automatically generated by the HackTricks News Bot based on a technical blog post.
📝 Source Information
🎯 Content Summary
Overview
The blog post documents two separate Johnson & Johnson web application vulnerabilities found by Eaton and published on June 24, 2026. Both issues had the same root security failure: Microsoft SSO/MSAL was used mainly as a client-side gate, while backend APIs did not properly validate the Microsoft Bearer token or enforce server-side authorization. No CVE is mentioned.The first issue affected a Campus Recruiting application and exposed details of ne...
🔧 Technical Details
Client-side MSAL bypass to test backend authorization: If a web app uses MSAL, OAuth, or SSO only as a frontend route guard, an attacker can patch the JavaScript so the account lookup logic always returns a fake logged-in account. This does not bypass a properly protected backend, but it quickly reveals APIs that fail to validate Bearer tokens. The correct defense is to validate access tokens server-side on every sensitive API request, including signature, issuer, audience, expiration, scopes, roles, and tenant/user authorization.
Browser-exposed API key abuse: Any API key embedded in frontend JavaScript must be treated as public. If backend or cloud APIs accept a static key shipped to the browser, an attacker can extract it from the bundle and replay the same calls outside the intended UI. In the J&J Campus Recruiting case, the frontend MSAL token was not used by the APIs; the real access control was a hardcoded API key for AWS APIs, so p...
🤖 Agent Actions
Updated
src/pentesting-web/oauth-to-account-takeover.md.Added a new section covering:
localStorage/sessionStorageidentity spoofingAlso added references to:
Validation:
git diff --checkpassedmdbook buildcould not run becausemdbookis not installed in this environment (/bin/bash: mdbook: command not found)This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.