Skip to content
XXE Write-up Beginner

How I Found a Vulnerability in Apple: A Journey of Discovery and Impact

An Apple subdomain ran an outdated version of Apache Tomcat that was vulnerable to several known issues, including an XXE flaw that could disclose sensitive information. The author reported it and Apple fixed it.

husnainsuleman Follow

Published on medium.com

Imagine uncovering a flaw in one of the world’s most secure tech ecosystems. That’s exactly what happened to me.

Husnain Suleman, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the subdomain was running an outdated version of Apache Tomcat with publicly known vulnerabilities.

Impact

The outdated Tomcat could allow an attacker to exploit known vulnerabilities, including XXE that discloses sensitive information, though the text does not confirm actual exploitation.

What the attacker needed

None

The fix

The issue was fixed after Apple was notified, as confirmed by the author.

How it was found

  1. Scan apple.com and gather subdomains.
  2. Use a custom tool to extract secrets from JavaScript files.
  3. Find a subdomain with URL parameters and visit it.
  4. Observe an error page that reveals the Tomcat version.
  5. Search online for exploits matching that Tomcat version.

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 write-up has not been written yet. The Original tab links to the source.

This is about a web server running old software with known security holes. One hole let an attacker trick the server into reading files it should not, which could leak private data. The researcher found it by scanning and checking version details.

What is XXE?

An XML parser resolves entities the attacker defines, reading local files or making the server send requests.

Similar reports

View all

Same bug class and techniques, clearest first.

XML external entities (XXE)

The lesson behind this report.

An XML parser resolves entities the attacker defines, reading local files or making the server send requests.