CVE-2018-9205
High · 7.5CVSS
7.5
EPSS
55.1%
Published
Apr 4, 2018
CISA due date
—
Cloudanix analysis
A flaw in an old Drupal add-on lets anyone on the internet read private files on the website server without logging in.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Application
- Class
- Path Traversal
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Unauthenticated path traversal in avatar_uploader view.php allows reading arbitrary files by supplying unsanitized paths without user verification.
Why it matters to the business
Attackers can obtain configuration files, source code, or credentials stored on the server, leading to further compromise or data exposure in Drupal sites using this module.
How an attack unfolds
An attacker locates the publicly reachable view.php endpoint in the avatar_uploader module and supplies directory traversal sequences in the file parameter to retrieve sensitive files outside the intended directory.
How to fix it
Remove or disable the vulnerable avatar_uploader module; if the functionality is required, replace it with a maintained alternative or apply a custom patch that adds authentication and path sanitization.
How to confirm the fix worked
Confirm the module directory is absent or that view.php returns 404/403 for all unauthenticated requests; scan source for any remaining unsanitized file parameter handling.
Typical attack path
- Discover the avatar_uploader view.php endpoint via directory listing or error messages
- Craft requests containing ../ sequences in the file parameter to traverse to sensitive paths
- Read configuration files or credential stores to obtain database or administrative secrets
- Use obtained information to pivot to other vulnerabilities or gain shell access
How to detect it
Search web server access logs for GET requests to avatar_uploader/view.php containing sequences such as ..%2f or ../; inspect for repeated attempts targeting common sensitive paths like /etc/passwd or settings.php.
- GET /sites/all/modules/avatar_uploader/view.php?file=
- ../
- ..%2f
- avatar_uploader/view.php
What your security team should do
- Immediately audit all Drupal sites for presence of the avatar_uploader module
- Block or remove the module from production environments
- Review web server access logs for historical requests to view.php containing traversal patterns
- Harden file permissions and move sensitive configuration outside the web root
The record
Vulnerability in avatar_uploader v7.x-1.0-beta8 , The code in view.php doesn't verify users or sanitize the file path.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-61725 sevenz-rust2 is a Rust-native 7z compressor and `decompress`or. CWE-22
- CVE-2026-62965 SABnzbd is an open source automated Usenet download tool. CWE-22
- CVE-2026-119342 Stirling-PDF is a locally hosted web application that facilitates various operations on… CWE-22
- CVE-2026-119328 Immich is a high-performance self-hosted photo and video management solution. CWE-22
- CVE-2026-116249 In server mode pgAdmin 4 resolves a server's password file, SSL certificate, key, CRL and… CWE-22
- CVE-2026-116240 In server mode pgAdmin 4 validates a path into the user's storage directory with… CWE-22
- CVE-2026-62331 praktor is a multi-agent Claude Code orchestrator with Telegram input and output, Docker… CWE-22
- CVE-2026-115604 Subscriber Arbitrary File Deletion in SureDash <= 1.12.3 versions. CWE-22