CVE-2022-50953
Deferred Deferred - Pending Action
Local File Read in admin-word-count-column WordPress Plugin

Publication date: 2026-06-08

Last updated on: 2026-06-08

Assigner: VulnCheck

Description
WordPress Plugin admin-word-count-column 2.2 contains a local file read vulnerability that allows unauthenticated attackers to read arbitrary files by exploiting null byte injection in the path parameter. Attackers can send GET requests to download-csv.php with a crafted path parameter containing directory traversal sequences and null bytes to bypass file restrictions and read sensitive files like system configuration.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-08
Last Modified
2026-06-08
Generated
2026-06-08
AI Q&A
2026-06-08
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
brooks24 admin_word_count_column to 2.2 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

The WordPress Plugin admin-word-count-column version 2.2 contains a local file read vulnerability that allows unauthenticated attackers to read arbitrary files on the server.

This is possible because the plugin's download-csv.php file uses a 'path' parameter that can be manipulated with null byte injection and directory traversal sequences. This manipulation bypasses file restrictions and enables attackers to access sensitive files such as system configuration files.

Specifically, the vulnerable code uses 'readfile($_GET['path'] .'cpwc.csv')', which can be exploited by appending a null byte to the path parameter, allowing attackers to read files like '/etc/passwd'.

This vulnerability affects PHP versions 5.3.2 and below due to the way null byte injection works.

Impact Analysis

This vulnerability can allow attackers to read sensitive files on your server without authentication.

  • Attackers can access system configuration files, which may contain sensitive information.
  • Exposure of sensitive files can lead to further attacks or compromise of the server.
  • Since the vulnerability allows arbitrary file reading, confidential data stored on the server could be leaked.
Detection Guidance

This vulnerability can be detected by attempting to exploit the local file read flaw using crafted GET requests targeting the download-csv.php file with a manipulated 'path' parameter.

A typical detection command involves sending a request to the vulnerable plugin's download-csv.php endpoint with directory traversal sequences and a null byte to try to read sensitive files such as /etc/passwd.

  • curl 'http://<target>/wp-content/plugins/admin-word-count-column/download-csv.php?path=../../../../../../../../../../../../etc/passwd%00'

If the response contains contents of the targeted file (e.g., /etc/passwd), it indicates the vulnerability is present.

Mitigation Strategies

Immediate mitigation steps include removing or disabling the vulnerable admin-word-count-column plugin version 2.2 from your WordPress installation.

Since the plugin was removed from the WordPress Plugin Directory due to this security issue and has not been updated for many years, it is recommended not to use it.

Additionally, restrict access to the download-csv.php file or the plugin directory via web server configuration to prevent unauthenticated access.

Ensure your PHP version is updated beyond 5.3.2, as the null byte injection exploit is limited to PHP versions 5.3.2 and below.

Compliance Impact

This vulnerability allows unauthenticated attackers to read arbitrary files on the server, including sensitive system configuration files. Such unauthorized access to sensitive data can lead to violations of data protection regulations like GDPR and HIPAA, which require strict controls over access to personal and sensitive information.

By enabling attackers to bypass file restrictions and access sensitive files, the vulnerability increases the risk of data breaches and unauthorized disclosure, potentially resulting in non-compliance with these common standards and regulations.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2022-50953. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart