cve/2023/CVE-2023-25826.md

23 lines
1.4 KiB
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2023-25826](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-25826)
![](https://img.shields.io/static/v1?label=Product&message=OpenTSDB&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=0%3C%3D%202.4.1%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-78%20Improper%20Neutralization%20of%20Special%20Elements%20used%20in%20an%20OS%20Command%20('OS%20Command%20Injection')&color=brighgreen)
### Description
Due to insufficient validation of parameters passed to the legacy HTTP query API, it is possible to inject crafted OS commands into multiple parameters and execute malicious code on the OpenTSDB host system. This exploit exists due to an incomplete fix that was made when this vulnerability was previously disclosed as CVE-2020-35476. Regex validation that was implemented to restrict allowed input to the query API does not work as intended, allowing crafted commands to bypass validation.
### POC
#### Reference
- http://packetstormsecurity.com/files/174570/OpenTSDB-2.4.1-Unauthenticated-Command-Injection.html
#### Github
- https://github.com/ErikWynter/opentsdb_key_cmd_injection
2024-05-28 08:49:17 +00:00
- https://github.com/Loginsoft-LLC/Linux-Exploit-Detection
2024-05-25 21:48:12 +02:00
- https://github.com/Loginsoft-Research/Linux-Exploit-Detection
2024-05-28 08:49:17 +00:00
- https://github.com/Threekiii/Awesome-POC
- https://github.com/Threekiii/Vulhub-Reproduce
2024-05-25 21:48:12 +02:00
- https://github.com/getdrive/PoC