Skip to content
KitploitKITPLOIT
ИнструментыЭксплойтыБлог
Log in
Отправить
ИнструментыЭксплойтыБлог
Отправить

Инструменты для хакинга, пентеста и кибербезопасности — ваш арсенал защиты!

Kitploit — это каталог инструментов для хакинга, кибербезопасности и пентестинга. Находите последние обновления проектов для поиска уязвимостей, анализа систем, автоматизации тестирования и усиления вашей безопасности.

ЛентыКонтактыКонфиденциальность© 2026 Kitploit

Каталог инструментов

Категории

Все категории
Loading categories
Инструменты/GitHubGitHub/googlesky/cve-2016-5195
Privilege EscalationContainer SecurityExploitationSecurity VirtualizationPapers & ResearchLabs & Practice
GitHubgooglesky/cve-2016-5195

CVE-2016-5195

Dirty COW: a race in copy-on-write lets a local user write to a read-only mapping. Fixed in Linux 4.8.3. Differential: write on vuln, refused on fixed

Репозиторий
26 нояб. 2026 г.Ещё не проверено
Поделиться
Контент недоступен на запрошенном языке. Показываем английскую версию.

CVE-2016-5195 — Dirty COW Linux kernel privilege escalation

License: MIT Research status: validated

CVECVE-2016-5195
ComponentLinux kernel — mm/gup.c copy-on-write
Affected2.x through 4.x before 4.8.3
Fixed in4.8.3
CWECWE-362 (Race Condition)
ImpactA race in the copy-on-write handling let a local user write to a read-only memory mapping, including setuid binaries, and gain root privileges.
Vectorlocal mmap/MADV_DONTNEED race
TriggerFOLL_WRITE on a read-only COW mapping

The vulnerable path:

# pre-fix (model from Linux kernel 4.8.3)
attacker input accepted without the required protection

The derived guard:

# derived from observed behaviour, not copied from a vendor fix
refuse FOLL_WRITE on a read-only COW mapping

1. Root cause

The GUP path allowed a write to take the COW path incorrectly. The fix corrects the flag handling.

2. Reproduction environment

serviceimagerole
dc-vulncve-2016-5195:vulnvulnerable behaviour present
dc-guardcve-2016-5195:guardfixed behaviour
poccve-2016-5195-poc:localstdlib-only Python driver

Both sides are Python 3.12 images. The vulnerable behaviour is modelled from Linux kernel 4.8.3; the guard is derived from the lab observation that the impact is reproduced. The fixed build applies the published upstream change.

3. Running the environment

./run-lab.sh build
./run-lab.sh up
./run-lab.sh sweep
./run-lab.sh down

The lab uses the isolated cve5195lab network and bounded containers.

4. The PoC

poc/poc.py takes a mode and an optional --host=...:

moderesult
checkexit 1 when the write succeeds, 0 when the write is refused
exploitruns the full chain and reports the observed impact
probeprints the write flag
mitigationexplains the derived guard

A standalone exploit ships at exploit/exploit.py:

python3 exploit/exploit.py --host=dc-vuln

It exits 1 on a confirmed finding and 0 on a guarded target.

5. Expected results

dc-vuln (pre-fix)dc-guard (derived)
crafted requestroot escalationrefused
ordinary requestworksworks

Captured runs are in evidence/check-*-run.txt, evidence/exploit-*-run.txt, evidence/probe-*-run.txt, evidence/mitigation-*-run.txt, evidence/exploit-standalone-run.txt, evidence/exploit-standalone-fixed-run.txt, evidence/versions.txt and evidence/0day-sweep.txt.

6. Environment preconditions

Podman or Docker with the cve5195lab network. No production system is involved. Real-world exploitation needs an affected installation.

7. Additional findings (0-day sweep on the guarded build)

Ordinary requests still succeed on the fixed build.

8. Repository layout

README.md             this write-up
run-lab.sh            environment driver (build / up / sweep / down)
Makefile              convenience targets
poc/poc.py            the PoC (check / exploit / probe / mitigation)
exploit/exploit.py    standalone exploit
lab/harness-*.py      vulnerable behaviour / derived guard
lab/lab.Dockerfile    builds both sides
lab/service.py        HTTP wrapper (POST /check)
evidence/             captured runs on both sides
TRACKING.md           working record, excluded from the repo

9. References

  • CVE record — https://www.cve.org/CVERecord?id=CVE-2016-5195
  • Upstream advisory Linux kernel 4.8.3 — https://nvd.nist.gov/vuln/detail/CVE-2016-5195
Скачать инструмент

Похожие инструменты

  • PEASS-ng

    PEASS - Набор отличных скриптов для повышения привилегий (с цветами)

  • PrivescCheck

    Скрипт для перечисления путей повышения привилегий в Windows

  • LinEnum

    Скриптовое локальное перечисление Linux и проверки повышения привилегий

Популярное

Смотреть все →

Откройте для себя самые используемые инструменты нашего сообщества.

  • 1

    Callisto

    jetp1ane/callisto

    Автоматизированный инструмент анализа уязвимостей бинарных файлов, который декомпилирует исполняемые файлы с помощью Ghidra, сканирует псевдо-C код с помощью Semgrep и проверяет находки с использованием GPT-3.5-Turbo для уменьшения ложных срабатываний.

    796
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    # Приложение GhostLock с запуском в один клик (CVE-2026-43499)

    735
  • 3

    IMSIcatcher

    28zaaky/imsicatcher

    Платформа IMSI Catcher, разворачивающая поддельную соту GSM для перехвата SMS, внедрения сообщений и отслеживания мобильных устройств

    721
  • 4

    opencti

    opencti-platform/opencti

    Открытая платформа киберразведки угроз

    535
  • 5

    ARTEX

    baarai/artex

    Платформа автономного тестирования на проникновение на основе мультиагентной LLM с агентами-планировщиками и агентами-исполнителями, графами активов и исследования, записью MITM-трафика и повторной проверкой уязвимостей.

    424
  • 6

    DFRoot

    a2333c/dfroot

    Инструмент для получения root-прав на Android для Samsung Galaxy S25 Ultra (SM-S938B), который объединяет DirtyFrag CVE-2026-43284 и CVE-2026-43499 для автоматического получения root-прав при загрузке через KernelSU.

    419

Изучить все инструменты

Просмотрите нашу коллекцию инструментов

Смотреть все инструменты →