Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
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.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2024-12542-PoC — Proof-of-concept exploit for CVE-2024-12542 targeting unauthenticated sensitive information exposure in WordPress linkID plugin via missing capability check in phpinfo inclusion. | Kitploit
Tools/GitHubGitHub/nxploited/cve-2024-12542-poc
Vulnerability AnalysisExploitationWeb Application ExploitationInformation GatheringWeb SecurityMisconfiguration
GitHubnxploited/cve-2024-12542-poc

CVE-2024-12542-PoC

Proof-of-concept exploit for CVE-2024-12542 targeting unauthenticated sensitive information exposure in WordPress linkID plugin via missing capability check in phpinfo inclusion.

View Repository
21 year agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2024-12542-PoC

Missing Authorization to Unauthenticated Sensitive Information Exposure

Vulnerability Description

The linkID plugin for WordPress is vulnerable to unauthorized access of data due to a missing capability check when including the phpinfo function in all versions up to, and including, 0.1.2. This makes it possible for unauthenticated attackers to read configuration settings and predefined variables on the site's server. The plugin does not need to be activated for the vulnerability to be exploited.

Script Explanation

  1. Disable SSL Verification: Disables SSL warnings and verification.
  2. Logging Function: Prints and writes messages to output.txt.
  3. Version Check: Fetches the readme.txt file, checks the version. If <= 0.1.2, logs vulnerability and fetches PHP info.
  4. Fetch PHP Info: Retrieves and saves PHP info to phpinfo.php.
  • Main Function: Parses URL input, opens output.txt, and checks the version.
  • Usage:

    root@kitploit:~
    usage: CVE-2024-12542.py [-h] -u URL
    
    Check WordPress plugin version and fetch PHP info.
    
    options:
      -h, --help         show this help message and exit
      -u URL, --url URL  Base URL of the WordPress site
    
    
    Download Tool