Skip to content
Path traversal Advisory Intermediate CVE-2020-6142

OS4Ed openSIS Modules.php remote code execution vulnerability

The modname parameter in Modules.php is not properly sanitised, allowing directory traversal to include arbitrary local files. An attacker could read sensitive files or, if they can write PHP code to a file, execute remote code.

Yuri Kramarz Follow

Originally disclosed on Cisco Talos

Critical 9.9 View original

A remote code execution vulnerability exists in the Modules.php functionality of OS4Ed openSIS 7.3. A specially crafted HTTP request can cause local file inclusion.

Yuri Kramarz, on Cisco Talos

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 report has not been written yet. The Original tab links to the source.

How it worked

Root cause

The application includes a file path built from user input without properly restricting directory traversal sequences.

What the attacker needed

Access to the web interface; ability to send crafted HTTP requests

The fix

The vulnerability was fixed by the vendor after disclosure.

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 report has not been written yet. The Original tab links to the source.

The web application takes a file name from the user and uses it to load a file without checking that the file is inside the intended folder. By using special characters like '..' an attacker can make the application load any file on the server, such as a password file, and even run their own code if they can place it somewhere.

What is Path traversal?

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

More by Yuri Kramarz

View all

57 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

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.