Closed Bug 1827148 Opened 3 years ago Closed 3 years ago

Web Defacement via HTML Injection in support.mozilla.org

Categories

(Websites :: Other, task)

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: frozzipies, Unassigned)

References

()

Details

(Keywords: reporter-external, Whiteboard: [reporter-external] [web-bounty-form] [verif?])

Attachments

(2 files)

Attached image Proof 1 —

I found this HTML Injection vulnerability when i try an "Ask to Community" features.

Severity :
Medium

Steps to Reproduce :

  1. Create a question from https://support.mozilla.org/en-US/questions/firefox
  2. Try to inject an HTML tag, like <h1>Hacked By Me</h1>
  3. The HTML tag will executed perfectfully

Impact :
By injecting malicious HTML or scripts into a website's pages, an attacker can change the layout, colors, images, or text of the site, replacing them with their own content or defamatory messages (Web Defacement). This can harm the reputation and credibility of the website, its owners, and its users, leading to loss of business, customer trust, and legal liabilities.

notes :
i've read https://www.mozilla.org/en-US/security/web-bug-bounty/ and i've read that content injection is no eligible for bounty. But, i think this vulnerability is different with Content Injection, because the impact itself is more dangerous than the Content Injection, because attacker can fully change the content of Mozilla Community Q&A page with this vulnerability. You can see in the file attachment section about the impact.

Flags: sec-bounty?
Attachment #9327729 - Attachment description: That is the example what hacker can do with this vulnerability → Proof 1
Attached image proof 2 —

Hello Farras,

Thank you for your report.

support.mozilla.org intentionally allows certain HTML tags to be included in the description and comments, adding HTML in the comments is also sometimes flagged for moderation to make sure no malicious content is being added. Therefore, this is expected behavior in the application.

Thanks,
Frida

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → INVALID

But, as you can see in my screenshot (proof 2), you will see the HTML tags between the markup and HTML Injection, it looks so different, attacker can change the page content using HTML tags

In both screenshots, the HTML you added is still under a question and the whole page is not replaced. Users can tell that the HTML is part of the question. I still do not see a security risk here.

Thanks,
Frida

Flags: sec-bounty? → sec-bounty-
Group: websites-security
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: