CVE-2018-7284
HIGHAsterisk Buffer Overflow via SUBSCRIBE Request Accept Headers
Title source: llmExploitation Summary
EIP tracks 2 public exploits for CVE-2018-7284. PoCs published by EnableSecurity, Rodrigo-D.
AI-analyzed exploit summary This exploit demonstrates a stack-based buffer overflow in Asterisk's PJSIP channel driver by sending a malformed SUBSCRIBE message with multiple large 'Accept' headers, leading to stack corruption and potential remote code execution.
Description
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.
Exploits (2)
This exploit demonstrates a stack-based buffer overflow in Asterisk's PJSIP channel driver by sending a malformed SUBSCRIBE message with multiple large 'Accept' headers, leading to stack corruption and potential remote code execution.
This repository contains a proof-of-concept exploit for CVE-2018-7284, a buffer overflow vulnerability in Asterisk. The exploit involves sending maliciously crafted SIP SUBSCRIBE messages with oversized Accept headers to trigger a denial-of-service (DoS) condition.
References (5)
Scores
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H