CVE-2013-2171 is an improper permission-validation vulnerability in FreeBSD's kernel virtual-memory mmap implementation. The vm_map_lookup function does not correctly determine whether a task is authorized to write to a mapped memory location. A local unprivileged process can use read access together with mmap and ptrace system calls to modify memory or files for which it lacks write permission, potentially enabling privilege escalation.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
2 valid exploits after Mallory filtered fakes, detection scripts, and README-only repos (1 hidden).
This repository contains a single Metasploit module (modules/exploits/freebsd/local/mmap.rb) that exploits CVE-2013-2171, a local privilege escalation vulnerability in FreeBSD 9.0 and 9.1 (x86). The exploit works by uploading a custom payload and a crafted exploit binary to a writable directory (default: /tmp) on the target system. The exploit binary is based on a template (CVE-2013-2171.bin) and is modified to execute the uploaded payload. Upon execution, the payload runs with elevated privileges, typically granting a root shell. The module is operational and requires a shell session on the target. The only endpoints involved are local file paths used for payload and exploit deployment. The code is written in Ruby and is designed to be used within the Metasploit framework.
This repository contains a local privilege escalation exploit for FreeBSD 9.0 and 9.1, targeting CVE-2013-2171. The main file, 26368.c, is a C program that exploits a vulnerability in the mmap and ptrace system calls to overwrite the /usr/sbin/timedc binary, ultimately allowing the attacker to execute a root shell (/bin/sh) if successful. The exploit must be compiled and run locally on a vulnerable FreeBSD system. The README.md provides clear instructions for checking the kernel version, transferring, compiling, and executing the exploit. The LICENSE file is MIT. The exploit does not target any network services and requires local access to the system. The main fingerprintable endpoints are the file paths /bin/sh (used to spawn a shell) and /usr/sbin/timedc (the target of the exploit).
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
2 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.