Description
Buffer overflow in net.c for cfengine 2.x before 2.0.8 allows remote attackers to execute arbitrary code via certain packets with modified length values, which is trusted by the ReceiveTransaction function when using a buffer provided by the BusyWithConnection function.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 3
- GNU CFEngine 2.0.x - CFServD Transaction Packet Buffer Overrun (2) EDB-23183 · remote · Nov 4, 2003 · verified
- GNU CFEngine 2.-2.0.3 - Remote Stack Overflow EDB-105 · remote · Sep 27, 2003 · verified
- GNU CFEngine 2.0.x - CFServD Transaction Packet Buffer Overrun (1) EDB-23182 · remote · Sep 25, 2003 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 20030925 Cfengine2 cfservd remote stack overflow mailing-list
- 20030928 cfengine2-2.0.3 remote exploit for redhat mailing-list
- 20031005 GLSA: cfengine (200310-02) mailing-list