CVE-2018-7284
A Buffer Overflow issue was discovered in Asterisk through 13.19.1, 14.x through 14.7.5, and 15.x through 15.2.1, and Certified Asterisk through 13.18-cert2.
Public exploit code
Working exploit or proof of concept code has been published for this vulnerability. Treat unpatched systems as at risk.
- Asterisk chan_pjsip 15.2.0 - 'SUBSCRIBE' Stack Corruption2018-02-27 · dos · linux · Verified
Impact
A Buffer Overflow issue was discovered in Asterisk through 13.19.1, 14.x through 14.7.5, and 15.x through 15.2.1, and Certified Asterisk through 13.18-cert2. When processing a SUBSCRIBE request, the res_pjsip_pubsub module stores the accepted formats present in the Accept headers of the request. This code did not limit the number of headers it processed, despite having a fixed limit of 32. If more than 32 Accept headers were present, the code would write outside of its memory and cause a crash.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Digium | Asterisk | through 13.19.1 from 14.0.0 through 14.7.5 from 15.0.0 through 15.2.1 |
| Digium | Certified Asterisk | through 13.18 Version 13.18 |
| Debian | Debian Linux | Version 9.0 |
Weakness classification
References
- NVD record
- CVE.org record
- http://downloads.asterisk.org/pub/security/AST-2018-004.html
- http://www.securityfocus.com/bid/103151
- http://www.securitytracker.com/id/1040416
- https://www.debian.org/security/2018/dsa-4320
- https://www.exploit-db.com/exploits/44184/
- http://downloads.asterisk.org/pub/security/AST-2018-004.html
- http://www.securityfocus.com/bid/103151
- http://www.securitytracker.com/id/1040416
- https://www.debian.org/security/2018/dsa-4320
- https://www.exploit-db.com/exploits/44184/