Skip to content
Path traversal Write-up Beginner

ZeusCMS <= 0.3 (image_viewer.php) Information Disclosure Weakness

ZeusCMS 0.3 and earlier contains an absolute path traversal weakness in image_viewer.php. A remote attacker could supply a full pathname in the dir parameter to list arbitrary directories on the server.

karmainsecurity.com

Published on karmainsecurity.com

Absolute path traversal vulnerability in ZeusCMS 0.3 and earlier might allow remote attackers to list arbitrary directories via a full pathname in the dir parameter.

The author, on karmainsecurity.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Impact

A remote attacker could list arbitrary directories on the server, potentially disclosing file and directory names; the text uses 'might allow', so exploitation is not confirmed here.

What the attacker needed

Network access to the ZeusCMS instance

The fix

The dir parameter should be validated so that only relative paths inside the intended image directory are accepted, rejecting absolute paths and traversal sequences.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

This is a very short advisory about an old content management system. The image viewer page takes a folder path from the user and uses it to list files without checking that the path stays inside the intended folder. Because the check is missing, someone could ask the server to list folders elsewhere on the machine, which may reveal file names and structure.

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

Similar reports

View all

Same bug class and techniques, clearest first.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.