Ameeba Security Research

Defensive CVE and exploit intelligence

Ameeba Blog Search
TRENDING · 1 WEEK
Attack Vector
Vendor
Severity

CVE-2025-10143: Local File Inclusion Vulnerability in Catch Dark Mode WordPress Plugin

Overview

This report details a significant vulnerability identified in the Catch Dark Mode plugin for WordPress. This vulnerability, labelled as CVE-2025-10143, potentially allows authenticated attackers, with Contributor-level access and above, to include and execute arbitrary .php files on the server, leading to potential system compromise or data leakage. This is a serious security risk for any organizations or individuals using affected versions of the plugin on their WordPress sites.

Vulnerability Summary

CVE ID: CVE-2025-10143
Severity: High (CVSS 7.5)
Attack Vector: Local File Inclusion
Privileges Required: Contributor-level access
User Interaction: Required
Impact: Potential system compromise or data leakage

Affected Products

Ameeba Chat Icon A new way to communicate

Ameeba Chat is built on encrypted identity, not personal profiles.

Message, call, share files, and coordinate with identities kept separate.

  • • Encrypted identity
  • • Ameeba Chat authenticates access
  • • Aliases and categories
  • • End-to-end encrypted chat, calls, and files
  • • Secure notes for sensitive information

Private communication, rethought.

Product | Affected Versions

Catch Dark Mode WordPress Plugin | All versions up to and including 2.0

How the Exploit Works

The vulnerability lies in the ‘catch_dark_mode’ shortcode of the Catch Dark Mode plugin. Attackers with at least Contributor-level access can exploit this vulnerability by including arbitrary .php files via the shortcode. Since the shortcode does not properly sanitize or validate the included files, this allows the execution of any PHP code in those files. Consequently, attackers can bypass access controls, obtain sensitive data, or achieve code execution in cases where .php file types can be uploaded and included.

Conceptual Example Code

The following pseudocode exemplifies how an attacker might exploit this vulnerability:

catch_dark_mode('[include] /path/to/malicious.php [/include]');

In this example, ‘malicious.php’ is an arbitrary PHP file that the attacker has uploaded to the server. When the Catch Dark Mode plugin processes the shortcode, it includes and executes the code in ‘malicious.php’, leading to potential system compromise or data leakage.

Want to discuss this further? Join the Ameeba Cybersecurity Group Chat.

Disclaimer:

The information and code presented in this article are provided for educational and defensive cybersecurity purposes only. Any conceptual or pseudocode examples are simplified representations intended to raise awareness and promote secure development and system configuration practices.

Do not use this information to attempt unauthorized access or exploit vulnerabilities on systems that you do not own or have explicit permission to test.

Ameeba and its authors do not endorse or condone malicious behavior and are not responsible for misuse of the content. Always follow ethical hacking guidelines, responsible disclosure practices, and local laws.
Ameeba Chat