Exim off-by-one RCE vulnerability
An off-by-one error in an Exim utility function affects all versions of the mail server. An attacker could leverage this flaw to achieve pre-authentication remote code execution through heap exploitation.
- Triaged in 40 days
- Fixed in 18 months
- Paid in 18 months
- Disclosed after 19 months
Hi,
I found an off-by-one in Exim MTA utility function. It was reported to exim and official patch has been released, assigned CVE-2018-6789. This bug affects all versions of exim.
This bug is simple, but can be leverage to gain remote code execution, using skillful heap exploitation. Details are here: https://devco.re/blog/2018/03/06/exim-off-by-one-RCE-exploiting-CVE-2018-6789-en/
I believe exim is widespread enough and it seems to fit all criteria. I wonder if this finding worths a bounty, or the reason why it is not included. Thanks!
Impact
Pre-auth remote code execution on all versions of exim mail server
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely an off-by-one error in an Exim utility function that allows a heap buffer overflow.
Impact
Pre-authentication remote code execution on all versions of Exim mail server, though exploitation requires skillful heap manipulation.
What the attacker needed
Exim mail server; network access to the service
The fix
An official patch was released for CVE-2018-6789.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
An off-by-one error is a programming mistake where a buffer is one byte too small or a loop runs one time too many, letting data spill into adjacent memory. In Exim, a widely used mail server, this small mistake can be abused by a remote attacker to run their own code on the server without needing to log in first.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.