yourmom2root

# local privilege escalation, remote delivery, emotional damage

CVE-2099-MOM1 CVSS 11.0 wormable at Thanksgiving no auth required 0-day (she's been 0 days old since forever) has a logo, domain and a mild sense of shame

live demo

  guest@yourmom2root:~
Try: help, whoami, sudo make me a sandwich, nmap yourmom, cat /etc/shadow. Or hit the red button.

advisory

11.0
CRITICAL. Scale tops out at 10.0. We asked nicely; the committee said "no."
AV:Family / AC:Trivial / PR:None / UI:"Come to dinner" / S:Changed / C:H / I:H / A:Seconds
Affectedyourmom <= latest
Fixed innothing. Not even in the nightly.
VectorPort 80 (she's very open), port 443 (she's also secured, allegedly)
Root causeUnbounded buffer. Everyone knows. Nobody says anything.
ReporterSome guy on the internet. We forget who.
Exploited in the wildSince before the wild.

technical deep dive

The vulnerability is a classic heap overflow. We tried to allocate a reasonable amount of space and the allocator said "nah, give me the whole heap." After malloc(mom) returned, the kernel's remaining free memory was tracked as a rounding error.

An attacker sends a crafted payload of one sentence. Mom's parser, lacking any bounds checking, begins unwinding the stack for a duration measured in geological epochs. Control of RIP is trivial. Control of RSP is a matter of "how much do you weigh again?"

$ ./yourmom2root --verbose
[+] resolving yourmom.local ......... took 3 days (DNS TTL: 1 week)
[+] stack too large for ASLR; kernel gave up
[+] ret2libc: libc was her fridge
[+] got uid=0(root) gid=0(root) groups=0(root),4(adm),69(nice)
[+] cleaning up logs ... log file is larger than /var
[!] disk full. shutting down.

mitigations

  1. Do not expose mom to the internet. (Too late. See: Facebook.)
  2. Enable SELinux. She will disable it by Tuesday.
  3. Put mom behind a WAF. She is the WAF.
  4. Rotate credentials. Her password is still the dog's name plus 1.
  5. Turn it off and on again. Warning: do not.

industry reaction

"This is the worst thing I've seen since the last one, and it's the last one's fault.": a CISO, speaking on condition of not being invited back
"We have a 90-day disclosure policy. She is 90 days old on a deployment of 50 years.": Project Zero (not really)
"I told my SOC to monitor for it. They said the dashboard needs a bigger monitor.": anonymous SOC manager
"Funnier than a deprecated TLS cipher suite.": nobody, but we're hoping

faq

Is this a real exploit?
No. It's a joke. Please don't open a ticket with your vendor.

Is there a bug bounty?
Yes. We pay in exposure, and mom pays in leftovers.

Does this work on my mom?
Only yours.

Why the domain?
Because php2root, nginx2root, and friends gave us the format. We gave it a family.

Will there be a conference talk?
DEF CON has already declined, citing "capacity concerns."