CVE-2018-3744CWE-35

The html-pages node module contains a path traversal vulnerabilities that allows an attacker to read any file from the server with cURL

published May 29, 2018

CVSS
—
EPSS
2%
Percentile
82.6
In the wild
Unconfirmed
What it is

⚠️ A sneaky path traversal vulnerability lurks in the html-pages node module! With just a little cURL magic, an attacker could peek into your server's files without breaking a sweat. 📂 Think of it like a poorly marked storage room where anyone can wander in and grab boxes labeled 'Confidential' — without needing a badge to enter! The way this module handles file requests makes it far too easy for unauthorized eyes to see sensitive data. If exploited, an attacker could access any file on the server, potentially exposing sensitive information or configuration files that could lead to further compromises. This invisible access could result in data leaks or an attacker gathering intel to launch more serious attacks.

Put simply

Think of it like a poorly marked storage room where anyone can wander in and grab boxes labeled 'Confidential' — without needing a badge to enter! The way this module handles file requests makes it far too easy for unauthorized eyes to see sensitive data. The vulnerability in the html-pages node module allows attackers to manipulate file paths, leveraging path traversal techniques to read files from locations on the server that should remain off-limits.

What to do

If exploited, an attacker could access any file on the server, potentially exposing sensitive information or configuration files that could lead to further compromises. This invisible access could result in data leaks or an attacker gathering intel to launch more serious attacks. To mitigate this risk, update the html-pages module to the latest version, ensuring that strict path validation is enforced. Additionally, review your file access permissions and consider implementing whitelisting to restrict file access to only those directories you truly need. You've got this! Follow these steps, and you’ll be well on your way to securing your server. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.02238 · 82.6th percentile
Weakness
CWE-35 · Path Traversal: '.../...//'
Published
2018-05-29T20:00Z
EPSS history
Timeline
  • 29 MAY 20:00Z
    The html-pages node module contains a path traversal vulnerabilities that allows an attacker to read any file from the server with cURL
    cvelistv5