cve/2019/CVE-2019-9851.md

19 lines
1.3 KiB
Markdown
Raw Normal View History

2024-05-26 14:27:05 +02:00
### [CVE-2019-9851](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-9851)
![](https://img.shields.io/static/v1?label=Product&message=LibreOffice&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3C%206.2.6%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=arbitrary%20script%20execution&color=brighgreen)
### Description
LibreOffice is typically bundled with LibreLogo, a programmable turtle vector graphics script, which can execute arbitrary python commands contained with the document it is launched from. Protection was added, to address CVE-2019-9848, to block calling LibreLogo from document event script handers, e.g. mouse over. However LibreOffice also has a separate feature where documents can specify that pre-installed scripts can be executed on various global script events such as document-open, etc. In the fixed versions, global script event handlers are validated equivalently to document script event handlers. This issue affects: Document Foundation LibreOffice versions prior to 6.2.6.
### POC
#### Reference
- http://packetstormsecurity.com/files/154168/LibreOffice-Macro-Python-Code-Execution.html
#### Github
- https://github.com/ARPSyndicate/cvemon
- https://github.com/SamP10/VulnerableDockerfile