(0Day) Squid Cache WCCP Protocol Use-After-Free Remote Code Execution Vulnerability
Squid Cache fails to validate that an object exists before operating on it while handling the WCCP protocol, leading to a use-after-free. A remote, unauthenticated attacker could exploit this to run code as the 'nobody' user.
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Squid Cache. Authentication is not required to exploit this vulnerability.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
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 a use-after-free in the WCCP protocol handler, where an object is used after being freed because its existence is not checked first.
Impact
A remote attacker without credentials could execute arbitrary code in the context of the 'nobody' user; the advisory notes the only mitigation is to restrict interaction with the application.
What the attacker needed
Network access to the WCCP service; no authentication needed
The fix
No patch was available at disclosure; the vendor disputed validity, so the only suggested mitigation is restricting interaction with the application.
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.
Squid is a caching proxy server. A use-after-free happens when a program frees a piece of memory but keeps using it, so an attacker can sometimes plant their own data there and take control. Here an unauthenticated network attacker could potentially run their own code on the server.
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.