Coughing
Baby2Shell

One coughing baby.
Two shell.

$ ./exploit [+] Connecting to server... ✔ Connected... [+] Sending payload... [+] Finding base... ✔ Base found: 0x443067473133 [+] Breaking ASMR... ✔ ASMR broken! [+] Running RCE Payload exploit: line 27: xcalc: command not found xterm: Xt error: Can't open display: xterm: DISPLAY is not set

00 / THE EXPLOIT

Sophisticated exploit.

CoughingBaby is a pretty hard softwares to hack. So uh we found an exploit in the ldap module at src/lib/network/tcp/ldap.c. This is like a pwn exploit, you know, the kind where you pwn the memory.

But there was a catch! The kernel was using the ASMR memory protection to protect the kernel memory application. So we had to leak the ASMR hex code first. We used Cheat Engine to extract it from a running process (it turned out to be 0x08080808).

Anyways the remote code execution can be done after the ASMR disabling by doing a pwn against the stack. For this we used a ropchain, which is a technique where you return the code to execute as a value on the stack (or in registers on x64 bit).

This vulnerability is a CVSS level 9.8 vulnerability, which is the worst kind of vulnerability possible. So as a maintainer it is important to immediately patch this because the CoughingBaby server is used in all hospitals and banks in all countries except those running on Windows Server 2008 Express.


01 / THE DISCLOSURE

Load-bearing e-mail.

We e-mailed the 1 maintainer working on this project as soon as possible. Before even receiving a reply, we saw people on X searching for the vulnerability with their agents. One person even made a GitHub repo (repository) titled coughingbaby-poc.

❝you should have an agent set up to monitor your e-mail and automatically fix and commit vulnerabilities❞

Because of these irresponsible response times from the maintainer we decied to make this vulnerability public as soon as possible. In the age of AI you cannot take more than an hour to fix your project. In fact, you should have an agent set up to monitor your e-mail and automatically fix and commit vulnerabilities.

The maintainer told us we were irresponsible. The public told us we were heroes. One side was right. The other was the maintainer.


02 / THE VIDEOS

An after effect.

Watch a video of this incident:

Edit: yes, this website is fully human-made, including the html and css. If you like the css on this page you should check out the css in my blog posts.