UnResolved ChangeSet are Visible to Public That also Causes Information Disclosure
The public WordPress Trac changeset repository exposes unresolved security bugs and PHP source code to anyone who guesses sequential changeset IDs. An attacker could browse these changesets to discover unpatched vulnerabilities and use them against the site.
Originally disclosed on HackerOne
- Disclosed after 3 months
Hello,
While testing Your Security I Observed that the Security Report Reported to You After Validation arranged for fix or you can say that a public repository created for the code powering the site at https://code.trac.wordpress.org/changeset/[ID] that Leaks Following Things
1.UnResolved Bugs 2.PHP Code of Website
Impact
Let an Attacker Dont Know The Vulnerabilities in Your System he can search for different id's like 469,470,471 Like this:- https://code.trac.wordpress.org/changeset/469 https://code.trac.wordpress.org/changeset/470 https://code.trac.wordpress.org/changeset/471
Which is Disclosing PHP Code and Unresolved Security Bugs To Public An Attacker can see Unresolved Vulnerabilities From Here can Use it to destroy Your Services.
Thanks, Abdulwahab Khan, Independent Cyber Security Researcher.
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 public changeset repository does not restrict access to changesets that reference unresolved security issues or contain sensitive source code.
Impact
An attacker could discover unresolved vulnerabilities and PHP code, potentially using them to attack the service.
What the attacker needed
None
How it was found
- Visit the public changeset URL with a specific ID.
- Change the ID to other numbers to view different changesets.
- Observe that unresolved bugs and PHP code are exposed.
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 changeset is a record of a code change in a public code repository. The reporter found that anyone can view changesets that contain details about unfixed security bugs and the site's PHP code, simply by trying different numbers in the URL. This means attackers can learn about weaknesses before they are fixed.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.