Skip to main content
Vulnerability Database/CVE-2024-13536

CVE-2024-13536: WordPress 1003 Mortgage Path Disclosure

CVE-2024-13536 is a full path disclosure vulnerability in the 1003 Mortgage Application plugin for WordPress that exposes the web application's full path to unauthenticated attackers. This article covers technical details, affected versions, impact assessment, and mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2024-13536 Overview

The 1003 Mortgage Application plugin for WordPress contains a Full Path Disclosure vulnerability affecting all versions up to and including 1.87. The flaw resides in the publicly accessible /inc/class/fnm/export.php file, which runs with PHP error logging enabled. Unauthenticated attackers can request this file directly and trigger errors that reveal the absolute filesystem path of the web application. The disclosed path information has limited value on its own but assists attackers in chaining exploits that require knowledge of the server layout. The vulnerability is classified under [CWE-209: Generation of Error Message Containing Sensitive Information].

Critical Impact

Unauthenticated remote attackers can retrieve the absolute server path of the WordPress installation, providing reconnaissance data for follow-on attacks such as Local File Inclusion or arbitrary file write exploitation.

Affected Products

  • WordPress 1003 Mortgage Application plugin versions 1.0 through 1.87
  • WordPress sites running the plugin with default PHP error display settings
  • Any deployment exposing /wp-content/plugins/1003-mortgage-application/inc/class/fnm/export.php

Discovery Timeline

  • 2025-01-21 - CVE-2024-13536 published to NVD
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2024-13536

Vulnerability Analysis

The vulnerability stems from an information disclosure weakness in the plugin's export handler. The export.php script under /inc/class/fnm/ is directly reachable over HTTP without authentication. When accessed outside its expected execution context, the script triggers PHP runtime errors because required variables, includes, or WordPress bootstrap objects are missing. With display_errors or verbose logging enabled at the server or application layer, the resulting error output includes the full absolute filesystem path of the plugin file.

Attackers learn the web root, operating system layout, and user account directories. This information supports later exploitation stages that need concrete paths, such as writing web shells to known writable directories or reading configuration files through a separate file inclusion flaw.

Root Cause

Two compounding design issues create the vulnerability. First, the export.php file lacks an ABSPATH check or authentication guard, so anonymous HTTP requests reach it directly. Second, the file assumes it executes within the WordPress request lifecycle and does not suppress errors when that assumption fails. PHP's default error formatting includes the absolute path of the offending script, which becomes the leaked data.

Attack Vector

An unauthenticated attacker sends an HTTP GET request to the plugin's export endpoint at /wp-content/plugins/1003-mortgage-application/inc/class/fnm/export.php. The server returns an error page containing the absolute filesystem path, such as /var/www/html/wp-content/plugins/1003-mortgage-application/inc/class/fnm/export.php. No authentication, user interaction, or special tooling is required beyond a standard web client. See the Wordfence Vulnerability Analysis and WordPress Plugin Code for technical details.

Detection Methods for CVE-2024-13536

Indicators of Compromise

  • HTTP GET requests to /wp-content/plugins/1003-mortgage-application/inc/class/fnm/export.php from unauthenticated sources
  • Web server responses containing absolute filesystem paths in the response body
  • PHP error log entries referencing export.php with undefined variable or missing include warnings

Detection Strategies

  • Review web access logs for direct requests to plugin PHP files that bypass WordPress routing
  • Search HTTP response bodies for absolute path patterns such as /var/www/, /home/, or C:\inetpub\
  • Correlate requests to export.php with subsequent probing of admin endpoints or file inclusion attempts from the same source IP

Monitoring Recommendations

  • Enable web application firewall logging for direct plugin file access attempts
  • Aggregate PHP error logs into a central SIEM and alert on repeated warnings from the affected plugin path
  • Track reconnaissance patterns where path disclosure precedes exploitation attempts against other WordPress components

How to Mitigate CVE-2024-13536

Immediate Actions Required

  • Update the 1003 Mortgage Application plugin to a version later than 1.87 once a patched release is available
  • Disable or remove the plugin if it is not actively used on the site
  • Set display_errors to Off and log_errors to On in php.ini to prevent error output in HTTP responses

Patch Information

At the time of publication, no vendor patch is referenced in the NVD advisory. Site administrators should monitor the plugin's WordPress repository for an updated release and apply it immediately when available.

Workarounds

  • Add a web server rule blocking direct requests to /wp-content/plugins/1003-mortgage-application/inc/class/fnm/export.php
  • Deploy a WAF rule that strips absolute path patterns from outbound HTTP response bodies
  • Configure PHP to suppress error display in production by setting display_errors = Off and using error logs instead
bash
# Apache configuration to block direct access to the vulnerable file
<Files "export.php">
    Require all denied
</Files>

# Or via nginx location block
location ~* /wp-content/plugins/1003-mortgage-application/inc/class/fnm/export\.php$ {
    deny all;
    return 403;
}

# PHP hardening in php.ini
display_errors = Off
display_startup_errors = Off
log_errors = On
error_log = /var/log/php/error.log

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.