Skip to content
Info disclosure Disclosed report Advanced CVE-2020-12418

TALOS-2020-1088 Mozilla Firefox URL mPath

A specially crafted URL object in Mozilla Firefox's URL mPath functionality can cause an out-of-bounds read, leading to an information disclosure. An attacker can trigger this by getting a victim to visit a webpage.

Cisco Talos Follow

Originally disclosed on Mozilla

  • Fixed in 22 days
  • Paid in 26 days
  • Disclosed after 22 days

Created attachment 9152175 POC_URL mPath Memory Leak.html

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1 Safari/605.1.15

Steps to reproduce:

Summary

An information disclosure vulnerability exists in the URL mPath functionality of Mozilla Firefox Firefox Nightly Version 78.0a1 x64 and Firefox Release Version 76.0.2 x64. A specially crafted URL object can cause an out-of-bounds read. An attacker can visit a webpage to trigger this vulnerability. Tested Versions: Mozilla Firefox Firefox Nightly Version 78.0a1 x64
Mozilla Firefox Firefox Release Version 76.0.2 x64

Actual results:

Please review attached advisory and poc file

Expected results:

Please review attached advisory and poc file

The original report as published on Mozilla's Bugzilla, by Cisco Talos. Images and videos are our own copies; raw HTML is shown as text. View it on Mozilla's Bugzilla.

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 improper bounds checking when parsing the path component of a URL object, allowing an out-of-bounds read.

Impact

An attacker could disclose memory contents by convincing a victim to visit a crafted webpage, though the text gives no further detail on what data is exposed.

What the attacker needed

Victim visits a crafted webpage

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 program that reads data past the end of a buffer can accidentally expose memory contents it should not. Here, Firefox's handling of a URL's path component can be tricked into reading beyond the intended data. The result is that some memory information may leak to the attacker.

What is Info disclosure?

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

More by Cisco Talos

View all

5 more disclosed reports, best first.

More from Mozilla

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.