CVE-2022-0434CWE-89

Page Views Count < 2.4.15 - Unauthenticated SQL Injection

published March 7, 2022

CVSS
—
EPSS
15%
Percentile
96.7
In the wild
Unconfirmed
What it is

⚠️ An unauthenticated user can exploit this SQL injection vulnerability in the Page View Count WordPress plugin just by accessing a REST endpoint. This is like tossing a pizza delivery bag at an open window — a single action, and they can grab whatever's inside! 🍕 Think of it like a restaurant where the kitchen accepts any order without checking if the ingredients are fresh. In this case, the plugin doesn’t sanitize the post_ids parameter, allowing attackers to slip in malicious SQL commands as easily as placing a fake order. This vulnerability could allow attackers to manipulate the database, potentially leading to unauthorized access to sensitive data or even complete compromise of the website. They could retrieve, modify, or delete data in ways that could be absolutely devastating for your site’s integrity and trust. 😱

Put simply

Think of it like a restaurant where the kitchen accepts any order without checking if the ingredients are fresh. In this case, the plugin doesn’t sanitize the post_ids parameter, allowing attackers to slip in malicious SQL commands as easily as placing a fake order. The Page View Count plugin before version 2.4.15 fails to properly sanitize and escape the post_ids parameter when using it in SQL statements through its REST API, making it susceptible to SQL injection attacks.

What to do

This vulnerability could allow attackers to manipulate the database, potentially leading to unauthorized access to sensitive data or even complete compromise of the website. They could retrieve, modify, or delete data in ways that could be absolutely devastating for your site’s integrity and trust. 😱 Immediately update the Page View Count plugin to version 2.4.15 or later. Additionally, review your database queries and implement prepared statements to enhance security. Regularly audit your plugins for vulnerabilities to stay ahead! 🛡️ You've got this! With a quick update and a bit of vigilance, you'll keep your site secure and running smoothly. 🚀

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.14783 · 96.7th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2022-03-07T08:16Z
EPSS history
Timeline
  • 07 MAR 08:16Z
    Page Views Count < 2.4.15 - Unauthenticated SQL Injection
    cvelistv5