CVE-2022-1391CWE-22

Cab fare calculator < 1.0.4 - Unauthenticated LFI

published April 25, 2022

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

⚠️ A sneaky oversight in the Cab fare calculator plugin could let attackers read any file they like — not great for your security! Think of it like a restaurant chef who accepts orders without checking the recipe list — they might accidentally serve something entirely inappropriate! In this case, the plugin trusts a parameter without ensuring it’s safe, leading to potential file exposure. An attacker could exploit this Local File Inclusion vulnerability to access sensitive files on your server, potentially revealing user data or critical system configurations. While it hasn't been widely exploited, the risk of an unwelcome peek into your files makes it a concern worth addressing immediately.

Put simply

Think of it like a restaurant chef who accepts orders without checking the recipe list — they might accidentally serve something entirely inappropriate! In this case, the plugin trusts a parameter without ensuring it’s safe, leading to potential file exposure. The Cab fare calculator WordPress plugin versions prior to 1.0.4 fail to validate the 'controller' parameter used in require statements, allowing unauthorized access to local files.

What to do

An attacker could exploit this Local File Inclusion vulnerability to access sensitive files on your server, potentially revealing user data or critical system configurations. While it hasn't been widely exploited, the risk of an unwelcome peek into your files makes it a concern worth addressing immediately. Update the Cab fare calculator plugin to version 1.0.4 or later to fix this issue. Additionally, review your security settings to ensure that local files cannot be inadvertently accessed. Don't forget to regularly audit your plugins for vulnerabilities! You've got this! Fixing this vulnerability is an easy win for your security hygiene. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.15064 · 96.7th 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
    Cab fare calculator < 1.0.4 - Unauthenticated LFI
    cvelistv5