Files
CVEs-PoC/2015/CVE-2015-9138.md
T
2025-09-29 21:09:30 +02:00

18 lines
2.0 KiB
Markdown

### [CVE-2015-9138](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-9138)
![](https://img.shields.io/static/v1?label=Product&message=Snapdragon%20Automobile%2C%20Snapdragon%20Mobile%2C%20Snapdragon%20Wear%2C%20Small%20Cell%20SoC&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=FSM9055%2C%20IPQ4019%2C%20MDM9206%2C%20MDM9607%2C%20MDM9625%2C%20MDM9635M%2C%20MDM9640%2C%20MDM9645%2C%20MDM9650%2C%20MDM9655%2C%20MSM8909W%2C%20SD%20210%2FSD%20212%2FSD%20205%2C%20SD%20400%2C%20SD%20410%2F12%2C%20SD%20425%2C%20SD%20430%2C%20SD%20450%2C%20SD%20600%2C%20SD%20615%2F16%2FSD%20415%2C%20SD%20617%2C%20SD%20625%2C%20SD%20650%2F52%2C%20SD%20800%2C%20SD%20808%2C%20SD%20810%2C%20SD%20820%2C%20SD%20820A%2C%20SD%20835%2C%20SD%20845%2C%20SD%20850%2C%20SDX20%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=Buffer%20Copy%20without%20Checking%20Size%20of%20Input%20('Classic%20Buffer%20Overflow')%20in%20Core.&color=brightgreen)
### Description
In Android before 2018-04-05 or earlier security patch level on Qualcomm Snapdragon Automobile, Snapdragon Mobile, Snapdragon Wear, and Small Cell SoC FSM9055, IPQ4019, MDM9206, MDM9607, MDM9625, MDM9635M, MDM9640, MDM9645, MDM9650, MDM9655, MSM8909W, SD 210/SD 212/SD 205, SD 400, SD 410/12, SD 425, SD 430, SD 450, SD 600, SD 615/16/SD 415, SD 617, SD 625, SD 650/52, SD 800, SD 808, SD 810, SD 820, SD 820A, SD 835, SD 845, SD 850, and SDX20, when an RSA encryption operation is called, the ce_util_to_unsigned_bin is invoked to convert the input buffer to unsigned binary. The ce_util_to_unsigned_bin function, instead of operating on the size of the unsigned character buffer that is passed, operates on the address - i.e. operates on "c" instead of "*c". Decrementing the address to check if it is less than zero means that the operation will always pass, since a pointer will never be less than zero, and may result in a buffer overflow.
### POC
#### Reference
- http://www.securityfocus.com/bid/103671
#### Github
No PoCs found on GitHub currently.