Ameeba Exploit Tracker

Tracking CVEs, exploits, and zero-days for defensive cybersecurity research.

Ameeba Blog Search
TRENDING · 1 WEEK
Attack Vector
Vendor
Severity

CVE-2025-5339: Time-Based SQL Injection Vulnerability in WordPress Ads Pro Plugin

Ameeba Chat Store screens
Download Ameeba Chat

Overview

The popular WordPress Ads Pro Plugin, used for ad management, has been found to contain a time-based SQL injection vulnerability. This vulnerability, identified as CVE-2025-5339, affects all versions up to and including 4.89. Unauthenticated attackers can exploit this vulnerability to potentially gain unauthorized access to sensitive data on the database, leading to system compromise or data leakage.

Vulnerability Summary

CVE ID: CVE-2025-5339
Severity: High (7.5 CVSS)
Attack Vector: Web-based
Privileges Required: None
User Interaction: None
Impact: Unauthorized access to sensitive data, potential system compromise

Affected Products

Ameeba Chat Icon Escape the Surveillance Era

Most apps won’t tell you the truth.
They’re part of the problem.

Phone numbers. Emails. Profiles. Logs.
It’s all fuel for surveillance.

Ameeba Chat gives you a way out.

  • • No phone number
  • • No email
  • • No personal info
  • • Anonymous aliases
  • • End-to-end encrypted

Chat without a trace.

Product | Affected Versions

Ads Pro Plugin – Multi-Purpose WordPress Advertising Manager | Up to and including 4.89

How the Exploit Works

The vulnerability exists due to insufficient escaping of the ‘bsa_pro_id’ parameter and lack of adequate preparation on the existing SQL query. An unauthenticated attacker can append additional SQL queries into existing queries. By exploiting this vulnerability, an attacker can manipulate SQL queries to extract sensitive information from the database.

Conceptual Example Code

The following is a conceptual example of how the vulnerability might be exploited. This is a sample HTTP GET request, where an attacker appends a malicious SQL query to the ‘bsa_pro_id’ parameter.

GET /wp-content/plugins/ads-pro/?bsa_pro_id=1' OR '1'='1'; -- HTTP/1.1
Host: target.example.com

The above request triggers the SQL injection vulnerability, potentially returning sensitive information from the database.

Mitigation Guidance

It is recommended to apply the vendor patch as soon as it is available. Until then, using a Web Application Firewall (WAF) or Intrusion Detection System (IDS) could serve as temporary mitigation. Ensure that these security systems are configured correctly to detect and prevent SQL injection attacks.

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