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

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

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

피드문의개인정보© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
도구/GitHubGitHub/thiscitze/cve-2026-118423-poc
Vulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityRemote Access ToolPayload Development
GitHubthiscitze/cve-2026-118423-poc

cve-2026-118423-poc

CVE-2026-118423 - WP Libre Form <= 1.5.0.1 unauthenticated upload to RCE (PoC + exploit by thiscitze)

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

CVE-2026-118423 — WP Libre Form unauthenticated upload → RCE

by thiscitze

ProductWP Libre Form (wp-libre-form)
Affected<= 1.5.0.1
TypeUnauthenticated arbitrary file upload (CWE-434)
ImpactRemote code execution as the web user
CVSS10.0 (AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H)
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-118423

Summary

WP Libre Form registers the AJAX action wplf_submit for both logged-in and anonymous users (wp_ajax_nopriv_wplf_submit). The handler never validates the uploaded file type. When the form is not configured to use the media library, the file is moved straight into wp-content/uploads/:

// inc/wplf-ajax.php
$name = 'lf_' . date( 'ymdhs' ) . '-' . $counter . '-' . sanitize_file_name( $file['name'] );
move_uploaded_file( $file['tmp_name'], $uploads_path['path'] . '/' . $name );

sanitize_file_name() keeps the .php extension, so a PHP payload lands in a web-accessible directory and is executed by the web server.

The only precondition is a published form: the handler requires a valid _form_id (a wplf-form post) and the form's required fields, all of which are visible in the rendered page.

Requirements

  • A page that renders a [libre-form] shortcode (the PoC auto-discovers it through the REST API or the site's own links)
  • wp-content/uploads/ served by a web server that executes PHP (the default)
  • Python 3.6+, no third-party packages

Usage

# automatic discovery
python3 poc.py --url https://target.example

# form page known / REST API disabled
python3 poc.py --url https://target.example --form-url https://target.example/contact/

# custom admin-ajax location
python3 poc.py --url https://target.example --ajax-url https://target.example/wp-admin/admin-ajax.php

# only send the file, skip the URL brute force
python3 poc.py --url https://target.example --no-verify

Typical successful run:

+ form page: https://target.example/contact/
+ form id  : 42
+ submission accepted (id=118)
+ upload: https://target.example/wp-content/uploads/lf_261106140-0-wplf_7b79.php
+ RCE confirmed - marker WPLF7B79 returned by the server

How the PoC works

  1. Finds a page with a rendered form (_form_id hidden input) via the REST API (/wp-json/wp/v2/pages|posts) or by following same-origin links.
  2. Extracts the form id and every field name, then submits the multipart form to admin-ajax.php?action=wplf_submit with a .php file attached to the form's file input (or to a synthetic field name).
  3. The response JSON carries the uploaded file's original name and a submission id. The final name is lf_<ymdhs>-<counter>-<name>; the PoC rebuilds it from the server Date header (±5 seconds, counters 0–3) and verifies execution by requesting the URL and looking for the random marker.
  4. Exit codes: 0 executed/uploaded, 2 uploaded but URL not found, 1 failure.

Detection

  • Requests to admin-ajax.php with action=wplf_submit and a multipart body whose filename ends in .php
  • Files matching wp-content/uploads/lf_*-*-*.php
  • PHP files younger than the submission in the uploads tree

Mitigation

  • Remove or update the plugin (no fixed release is assigned to this CVE at the time of writing; WPScan lists 1.5.0.1 as the last affected version)
  • Enforce an upload allow-list and store uploads outside the web root
  • Deny PHP execution in wp-content/uploads/:
<Directory "/var/www/html/wp-content/uploads">
  <FilesMatch "\.(php|phtml|phar)$">
    Require all denied
  </FilesMatch>
</Directory>

References

  • NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-118423
  • WPScan: https://wpscan.com/vulnerability/35149a79-aee1-4f13-ba29-583c2224c5da/

Disclaimer

For authorized testing and lab use only. Running this against systems you do not own is a criminal offence in most jurisdictions.


written by thiscitze · github.com/thiscitze

인기

모두 보기 →

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

  • 1

    OsintHunter

    letox4/osinthunter

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

    1.0k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    645
  • 3

    looking-glass

    anonghosty/looking-glass

    Shadowserver 보고서를 MongoDB로 수집하고 이를 대화형 지도, 분석, 발견 사항, 권고 및 경영진 대시보드로 재생하는 CSIRT 플랫폼입니다.

    420
  • 4

    jumpserver

    jumpserver/jumpserver

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

    388
  • 5

    ARTEX

    baarai/artex

    LLM 멀티 에이전트 자율 침투 테스트 플랫폼으로, 플래너/워커 에이전트, 자산 및 탐색 그래프, MITM 트래픽 기록, 취약점 재테스트 기능을 제공합니다.

    330
  • 6

    SafeLine

    chaitin/safeline

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

    328

모든 도구 탐색

도구 컬렉션을 둘러보세요

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