Files
CVEs-PoC/2018/CVE-2018-5158.md
T
2024-06-18 02:51:15 +02:00

25 lines
1.2 KiB
Markdown

### [CVE-2018-5158](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-5158)
![](https://img.shields.io/static/v1?label=Product&message=Firefox%20ESR&color=blue)
![](https://img.shields.io/static/v1?label=Product&message=Firefox&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3C%2052.8%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Version&message=%3C%2060%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=Malicious%20PDF%20can%20inject%20JavaScript%20into%20PDF%20Viewer&color=brighgreen)
### Description
The PDF viewer does not sufficiently sanitize PostScript calculator functions, allowing malicious JavaScript to be injected through a crafted PDF file. This JavaScript can then be run with the permissions of the PDF viewer by its worker. This vulnerability affects Firefox ESR < 52.8 and Firefox < 60.
### POC
#### Reference
- https://bugzilla.mozilla.org/show_bug.cgi?id=1452075
#### Github
- https://github.com/0xCyberY/CVE-T4PDF
- https://github.com/ARPSyndicate/cvemon
- https://github.com/huangkefen/web-translate
- https://github.com/ppcrab/CVE-2018-5158
- https://github.com/puzzle-tools/-CVE-2018-5158.pdf
- https://github.com/pwnpanda/Bug_Bounty_Reports