Content Spoofing @ https://irclogs.wordpress.org/
A parameter in a WordPress IRC log page is reflected into the page without encoding, so an attacker can craft a link that shows arbitrary text as if it came from the site. The reporter claims this could be used to display a phishing message, but no actual impact beyond text injection is demonstrated.
Originally disclosed on HackerOne
- Triaged in 5 days
- Fixed in 17 days
- Disclosed after 48 days
Hello,
Greetings,
Today I was Free So I Decided to Do Pentest WordPress So i Found a SubDomain which is Vulnerable to Plain text Content Spoofing.
PoC:- Url:- https://irclogs.wordpress.org/chanlog.php?channel=wordpress&day=[Message Goes Here]&sort=asca Example:- https://irclogs.wordpress.org/chanlog.php?channel=wordpress&day=today%20is%20not%20found%20because%20Wordpress%20Is%20Currently%20Down%20Kindly%20Visit%20Phishing.com%20and%20Login%20with%20Your%20Account%20For%20Further%20Details.%20Regards,%20Wordpress%20Team.&sort=asca
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 application reflects the 'day' query parameter into the HTML response without encoding or validation.
What the attacker needed
Victim clicks a crafted link
How it was found
- Open the IRC log page with a channel and sort parameter.
- Replace the day parameter value with arbitrary text.
- Load the URL and observe the text appearing on the page.
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.
Content spoofing means a website can be tricked into showing text that the attacker wrote, even though the text appears to come from the site itself. Here, a value in the web address is placed directly onto the page, so a link can make the page display a fake message. This is not the same as running code; it only changes what the page says.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.