Skip to main content
CVE Vulnerability Database
Vulnerability Database/CVE-2025-47670

CVE-2025-47670: miniOrange WordPress Plugin LFI Vulnerability

CVE-2025-47670 is a PHP local file inclusion vulnerability in miniOrange WordPress Social Login and Register plugin affecting versions up to 7.6.10. This post covers technical details, affected versions, security impact, and mitigation.

Updated:

CVE-2025-47670 Overview

CVE-2025-47670 is a Local File Inclusion (LFI) vulnerability in the miniOrange WordPress Social Login and Register plugin (miniorange-login-openid). The flaw stems from improper control of filenames used in PHP include/require statements [CWE-98]. Attackers can exploit this issue over the network without authentication to include arbitrary local files on the server. The vulnerability affects all plugin versions up to and including 7.6.10. Successful exploitation can lead to disclosure of sensitive files, execution of attacker-controlled PHP code, and full compromise of the WordPress site.

Critical Impact

Unauthenticated attackers can include arbitrary local files into PHP execution context, potentially leading to remote code execution on affected WordPress sites.

Affected Products

  • miniOrange WordPress Social Login and Register plugin (miniorange-login-openid) versions through 7.6.10
  • WordPress sites with the affected plugin installed and active
  • All hosting environments running PHP with the vulnerable plugin version

Discovery Timeline

  • 2025-05-23 - CVE-2025-47670 published to NVD
  • 2026-04-23 - Last updated in NVD database

Technical Details for CVE-2025-47670

Vulnerability Analysis

The vulnerability resides in how the miniOrange Social Login and Register plugin handles filename parameters passed to PHP include or require statements. The plugin accepts user-controlled input and uses it to construct a filesystem path without sufficient sanitization or allow-listing. An attacker can manipulate the parameter to traverse directories and load arbitrary local files into the PHP execution context.

The issue is categorized under [CWE-98] (Improper Control of Filename for Include/Require Statement). Although the CWE label references Remote File Inclusion, the Patchstack advisory confirms the practical impact is Local File Inclusion. When an attacker references a file containing PHP code, the server interprets and executes that code, escalating the impact from information disclosure to code execution.

Root Cause

The root cause is missing or insufficient input validation on a path parameter consumed by include/require. The plugin does not enforce a strict allow-list of permissible files, nor does it normalize and constrain paths to a designated directory.

Attack Vector

Exploitation occurs over the network against the vulnerable WordPress endpoint exposed by the plugin. No authentication or user interaction is required. The attacker sends a crafted HTTP request supplying a malicious filename or traversal sequence, causing the server to include and execute the targeted file. Attack complexity is rated High, reflecting some preconditions required for reliable exploitation.

No public proof-of-concept code is available. Refer to the Patchstack WordPress Vulnerability advisory for technical details.

Detection Methods for CVE-2025-47670

Indicators of Compromise

  • HTTP requests to plugin endpoints containing path traversal sequences such as ../ or absolute filesystem paths in query or POST parameters
  • Unexpected PHP processes reading sensitive files like /etc/passwd, wp-config.php, or log files
  • Web server access logs showing requests targeting miniorange-login-openid plugin paths with suspicious filename parameters
  • New or modified PHP files in WordPress upload directories that could serve as inclusion targets

Detection Strategies

  • Inspect web application firewall (WAF) and reverse proxy logs for traversal patterns and null byte sequences directed at the plugin
  • Audit WordPress access logs for anomalous parameter values referencing system files or PHP wrappers like php://filter or data://
  • Monitor file integrity of plugin files and PHP scripts under wp-content/plugins/miniorange-login-openid/

Monitoring Recommendations

  • Enable verbose HTTP request logging on WordPress hosts and forward logs to a centralized analytics platform
  • Alert on PHP processes accessing files outside the WordPress document root
  • Track outbound network connections initiated by the web server, which may indicate post-exploitation activity

How to Mitigate CVE-2025-47670

Immediate Actions Required

  • Identify all WordPress sites running the miniOrange Social Login and Register plugin and confirm installed versions
  • Update the plugin to a version released after 7.6.10 once available from the vendor
  • If no patched version is available, deactivate and remove the plugin until a fix is published
  • Review web server and application logs for indicators of prior exploitation

Patch Information

The vulnerability affects miniOrange Social Login and Register through version 7.6.10. Administrators should consult the Patchstack advisory and the WordPress plugin repository for the current fixed version and apply it across all sites.

Workarounds

  • Deactivate the miniorange-login-openid plugin until a patched release is installed
  • Deploy WAF rules that block path traversal sequences and PHP stream wrappers in requests to plugin endpoints
  • Restrict PHP open_basedir and disable_functions settings to limit the scope of any successful inclusion
  • Apply least-privilege filesystem permissions so the web server user cannot read sensitive configuration or system files
bash
# Example php.ini hardening to limit file inclusion impact
open_basedir = "/var/www/html:/tmp"
allow_url_include = Off
allow_url_fopen = Off

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

Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

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.