CVE-2018-16367

In OnlineJudge 2.0, the sandbox has an incorrect access control vulnerability that can write a file anywhere

published September 2, 2018

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

⚠️ There's an access control flaw in OnlineJudge 2.0 that lets you write files anywhere, like a guest sneaking into the kitchen and rearranging the entire pantry! Think of it like a restaurant where the kitchen staff accidentally left the door open, allowing anyone to walk in and swap out ingredients or take a peek at the secret recipes. This vulnerability lets malicious users create files in sensitive directories or access sensitive data without proper checks. An attacker could exploit this flaw to leak sensitive file data or even manipulate files on the server! Imagine a sneaky chef writing a new recipe on the menu that nobody approved, potentially leading to chaos in the system's integrity.

Put simply

Think of it like a restaurant where the kitchen staff accidentally left the door open, allowing anyone to walk in and swap out ingredients or take a peek at the secret recipes. This vulnerability lets malicious users create files in sensitive directories or access sensitive data without proper checks. This vulnerability allows users with limited access in OnlineJudge 2.0 to write files in unrestricted locations due to improper access controls, which can be exploited using a #include directive to leak file contents.

What to do

An attacker could exploit this flaw to leak sensitive file data or even manipulate files on the server! Imagine a sneaky chef writing a new recipe on the menu that nobody approved, potentially leading to chaos in the system's integrity. To remediate this issue, update OnlineJudge to the latest version with fixed access controls, and conduct a thorough audit of your file permissions to ensure that only authorized users can write or read sensitive files. It's also wise to review your security guidelines for sandbox environments. You’ve got the power to secure your application! Follow these steps, and you'll have a solid defense in no time. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.02169 · 82.1th percentile
Published
2018-09-02T22:00Z
EPSS history
Timeline
  • 02 SEP 22:00Z
    In OnlineJudge 2.0, the sandbox has an incorrect access control vulnerability that can write a file anywhere
    cvelistv5