Skip to content
Info disclosure Disclosed report Beginner

PHP and Wordpress version disclosure

A file in a WordPress plugin displays the running PHP and WordPress versions to anyone who requests it. The reporter notes this is not a vulnerability by itself but could help an attacker plan further attacks against known vulnerable versions.

siddiki Follow

Originally disclosed on HackerOne

  • Disclosed after 48 days

Vulnerable File google-authenticator-per-user-prompt/views/requirements-error.php

Description That file discloses the PHP version and Wordpress version to the world.Which is not a bug actually,but these information can be helpful to demonstrate further devastating bugs.

Suggestion I saw that you rejected many path disclosure reports cause those are not in your hand.It depends upon server settings,how that will handle error messages.But this case is different.Its not actually an error message.And cant be mitigated by switching off error display. I suggest you to keep such actions so that unauthorized users could not use this file directly.

The original report as published on HackerOne, by siddiki. 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

Root cause

Likely a plugin view file that renders version details without restricting direct access to it.

Impact

Version details are exposed to unauthenticated visitors, which could help an attacker choose exploits for known flaws in those versions; the text does not show any direct compromise.

What the attacker needed

None

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.

Websites often run on software like WordPress and PHP, and each version has its own known weaknesses. This report says a particular file in a plugin tells anyone who asks which versions are in use. On its own that is just information, but it makes it easier for an attacker to look up known bugs for those exact versions.

What is Info disclosure?

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

More by siddiki

View all

18 more disclosed reports, best first.

More from Ian Dunn

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.