CVE-2022-1390CWE-22

Admin Word Count Column <= 2.2 - Unauthenticated Arbitrary File Read

published April 25, 2022

CVSS
—
EPSS
22%
Percentile
97.6
In the wild
Unconfirmed
What it is

⚠️ An unchecked path parameter in the Admin Word Count Column plugin could open up your server to file reading and even remote code execution! Think of it like a restaurant where a diner can peek behind the kitchen door and look at any recipe — if they know the right words to say, they might even cook their own meals. This vulnerability lets attackers access sensitive files if your PHP server is feeling a bit nostalgic for the null byte trickery of yesteryear! If exploited, an attacker could read any file on your server that PHP can access, potentially exposing sensitive data or even executing arbitrary code. This could lead to a full compromise of your WordPress site, putting your users and data at significant risk!

Put simply

Think of it like a restaurant where a diner can peek behind the kitchen door and look at any recipe — if they know the right words to say, they might even cook their own meals. This vulnerability lets attackers access sensitive files if your PHP server is feeling a bit nostalgic for the null byte trickery of yesteryear! The vulnerability arises because the Admin Word Count Column plugin fails to validate the path parameter given to the readfile() function. This allows unauthenticated attackers to utilize techniques like null byte injection to read arbitrary files on servers with vulnerable PHP configurations, ultimately leading to remote code execution via Phar deserialization.

What to do

If exploited, an attacker could read any file on your server that PHP can access, potentially exposing sensitive data or even executing arbitrary code. This could lead to a full compromise of your WordPress site, putting your users and data at significant risk! To safeguard your site, update the Admin Word Count Column plugin to the latest version (ensure you’re using version 2.3 or higher). Additionally, consider restricting file access permissions on your server and reviewing your PHP configurations to mitigate risks associated with null byte exploitation. You’ve got this! Follow these steps, and you’ll be one step closer to locking down your WordPress site. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.21881 · 97.6th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2022-04-25T15:51Z
EPSS history
Timeline
  • 25 APR 15:51Z
    Admin Word Count Column <= 2.2 - Unauthenticated Arbitrary File Read
    cvelistv5