Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2015-8351 — Scanner and exploit POC for CVE-2015-8351, a remote file inclusion in the WordPress Gwolle Guestbook plugin (<=1.5.3) via the captcha ajax abspath parameter. | Kitploit
Tools/GitHubGitHub/jonathan1010/cve-2015-8351
ReconnaissanceVulnerability ScannersWeb Vulnerability ScannersVulnerability AnalysisExploitationWeb Application ExploitationPenetration Testing
GitHubjonathan1010/cve-2015-8351

CVE-2015-8351

Scanner and exploit POC for CVE-2015-8351, a remote file inclusion in the WordPress Gwolle Guestbook plugin (<=1.5.3) via the captcha ajax abspath parameter.

View Repository
Dec 4, 2026Not yet reviewed
Share

CVE-2015-8351

WordPress Gwolle Guestbook plugin <= 1.5.3 - Remote File Inclusion (abspath parameter of the captcha ajax endpoint)

Metadata

fieldvalue
CVECVE-2015-8351
severitycritical
CVSS9 (template CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H, NVD CWE-94)
fixed inGwolle Guestbook 1.5.4 (2015-10-16), captcha handler moved to a wp_ajax callback in frontend/captcha-ajax.php
classremote file inclusion / code injection (CWE-94) via the abspath GET parameter of /wp-content/plugins/gwolle-gb/frontend/captcha/ajaxresponse.php
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/CT5THr

Summary

Gwolle Guestbook plugin before 1.5.4 for WordPress contains a remote file inclusion caused by allow_url_include being enabled, letting remote authenticated users execute arbitrary PHP code via URL in abspath parameter, exploit requires user authentication. The template is a two-request flow (flow: http(1) && http(2), max-request: 2): a version pre-match on the plugin readme plus a data:// wrapper include on the standalone captcha endpoint. NVD/template data: EPSS 0.49619 (percentile 0.98916).

Full description

The vulnerable file ships at /wp-content/plugins/gwolle-gb/frontend/captcha/ajaxresponse.php and is a bare PHP script that reads the request directly:

  • $gwolle_gb_abspath = ( isset( $_GET['abspath'] ) ? urldecode( $_GET['abspath'] ) : false );
  • require( $gwolle_gb_abspath . 'wp-load.php' );

Because the raw $_GET['abspath'] value is handed to require() without filtering, an attacker controls the included resource. With allow_url_include=On both data://text/plain,<php> wrappers and remote http(s):// URLs are executed by the include engine, which is the arbitrary-code-execution primitive the template matches on.

The template issues:

  • Request 1 - GET /wp-content/plugins/gwolle-gb/readme.txt; the internal DSL pre-matcher requires status_code == 200, compare_versions(version, '<= 1.5.3') and contains(body, 'Gwolle Guestbook'), with the version pulled out by the regex extractor Stable tag: ([0-9.]+) (group 1).
  • Request 2 - GET /wp-content/plugins/gwolle-gb/frontend/captcha/ ajaxresponse.php?abspath=data%3A%2F%2Ftext%2Fplain%2C%3C%3Fphp%20 echo%20md5%28%27{{marker}}%27%29%3B%20exit%3B%20%3F%3E; final matchers (matchers-condition: and): status_code == 200 and contains(body, md5(marker)).

Version 1.5.4 drops the standalone ajaxresponse.php altogether and registers gwolle_gb_captcha_ajax_callback() on wp_ajax_* with a check_ajax_referer nonce, so no unfiltered require() remains.

Detection model

  • At most 2 requests per target, matching the template max-request: 2; no other endpoints are touched.
  • Pre-match: GET /wp-content/plugins/gwolle-gb/readme.txt; verdict requires status 200, the case-sensitive word Gwolle Guestbook (template DSL contains) and a Stable tag: value <= 1.5.3 (numeric tuple compare, mirrors compare_versions).
  • Probe: GET the captcha endpoint with the urlencoded data://text/plain,<?php echo md5('gwolle-gb-8351'); exit; ?> payload in abspath; the answer must be HTTP 200 and contain the full 32-char md5 c39e743e1aa845bc71e044e4569500a0.
  • check(url) returns (True, details) only when the pre-match and the md5 match both hold; details keeps the per-step flags (word_ok, version_ok, pre_ok, md5_ok), the stable tag, the expected digest, a 200-char readme snippet and the extractor string gwolle-gb rfi: readme=S tag=V pre=B probe=S md5=B.
  • A 12-char md5 token is computed over the JSON result so a merely reflected page is distinguishable from a real included answer.
  • Every request retries (2 attempts, linear backoff); scheme-less hosts in urls.txt are auto-prefixed with http://.

Usage

# scanner (GitHub side): streamed CSV + optional JSON sidecar
python scanner/CVE-2015-8351/scanner.py urls.txt 8 CVE-2015-8351.csv --json CVE-2015-8351.json

# exploit (satoshidisk side): result dict + optional CSV/JSON dumps
python exploit/CVE-2015-8351/exploit.py http://wp-host --csv CVE-2015-8351.csv --json CVE-2015-8351.json --verbose

urls.txt is a plain file, one target per line, # for comments. Lines may omit the scheme (wp-host:80 works, http:// is prepended). Both requests hit the same WordPress host and port.

Example scanner output

RCE POC SUITE
 scanner : CVE-2015-8351 v1.0.0
 threads : 4 | csv: s.csv | json: s.json
RCE POC SUITE
[2026-12-03 14:50:32] loaded 1 target(s) from urls8351.txt
[2026-12-03 14:50:32] [1/1] http://127.0.0.1:8099 -> VULNERABLE
[2026-12-03 14:50:32] json sidecar saved: s.json
[2026-12-03 14:50:32] summary: total=1 vulnerable=1 not-vuln=0 errors=0
[2026-12-03 14:50:32] timing : avg=7ms max=7ms wall=0.01s
[2026-12-03 14:50:32] report saved: s.csv

Scanner report columns

columnmeaning
n1-based row number
urltarget as provided
statusok / error
vulnerableverdict
elapsed_msper-target timing
tokenmd5 proof-of-match (12 chars)
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-2015-8351/exploit.py - two-stage POC.

Exit codes

codemeaning
0at least one target answered
2every target errored (or no targets loaded)

The POC returns 0 when its token verification passes and 2 on verification failed.

References

  • Nuclei template: http/cves/2015/CVE-2015-8351.yaml
  • NVD: https://nvd.nist.gov/vuln/detail/CVE-2015-8351
  • ImmuniWeb advisory: https://www.immuniweb.com/advisory/HTB23275
  • WPScan: https://wpscan.com/vulnerability/65d869e8-5c50-4c82-9101-6b533da0c207/
  • Shodan hint (template): http.html:"/wp-content/plugins/gwolle-gb/"
Download Tool

Related Tools

  • amass

    In-depth attack surface mapping and asset discovery

  • subfinder

    Fast passive subdomain enumeration tool.

  • reconftw

    reconFTW is a tool designed to perform automated recon on a target domain by running the best set of tools to perform scanning and finding out vulnerabilities

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    Callisto

    jetp1ane/callisto

    Automated binary vulnerability analysis tool that decompiles executables via Ghidra, scans pseudo-C code with Semgrep, and validates findings using GPT-3.5-Turbo to reduce false positives.

    796
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    One-tap Android kernel exploit app for CVE-2026-43499, providing privilege escalation via kernel module loading, with offset extraction and on-device analysis tools.

    735
  • 3

    IMSIcatcher

    28zaaky/imsicatcher

    IMSI Catcher platform that deploys a rogue GSM cell to intercept SMS, inject messages and track mobile devices

    721
  • 4

    opencti

    opencti-platform/opencti

    Open Cyber Threat Intelligence Platform

    535
  • 5

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    424
  • 6

    DFRoot

    a2333c/dfroot

    Android root tool for Samsung Galaxy S25 Ultra (SM-S938B) that chains DirtyFrag CVE-2026-43284 and CVE-2026-43499 to gain root automatically at boot via KernelSU.

    419

Explore all tools

Browse our collection of tools

View all tools →