Skip to content
XSS Disclosed report Beginner

Code Injection Bug Report

The cache.ruby-lang.org website did not filter input, allowing an attacker to inject code into the page. This could let them spoof messages to users or redirect them to malicious sites.

geeknik Follow

Originally disclosed on HackerOne

  • Triaged in 47 days
  • Fixed in 16 months
  • Disclosed after 17 months

Good morning, I hope this message finds you well. On 22 November 2019, I emailed [email protected] about a Code Injection bug on cache.ruby-lang.org, as the ruby-lang.org website is considered out-of-scope on H1. on 24 November 2019 the bug was acknowledged and a patch released. This morning, 27 November 2019, I was asked to open this ticket.

Impact

A lack of filtering on the cache.ruby-lang.org website enabled persons to inject code into the page, spoofing messages to the user, or redirecting them to malicious websites.

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

Impact

An attacker could spoof messages to the user or redirect them to malicious websites.

What the attacker needed

None stated

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 website that does not check what users type into it can end up displaying that text as active code. Here, someone could put code into the page so that visitors see fake messages or get sent to a harmful website. The report does not give the exact input field or the code used.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More by geeknik

View all

79 more disclosed reports, best first.

More from Ruby

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.