CVE-2022-40087

Simple College Website v1.0 was discovered to contain an arbitrary file write vulnerability via the function file_put_contents()

Critical · published September 22, 2022

CVSS v3.1
9.8
EPSS
2%
Percentile
79.5
In the wild
Unconfirmed
What it is

🚨 A crafty upload can spell disaster! An arbitrary file write vulnerability in Simple College Website v1.0 lets attackers execute any code they want. 🔥 Think of it like a college dorm where anyone can sneak in and leave packages without being checked. If a malicious actor can just drop off a dangerous file, it’s only a matter of time before chaos ensues! With this vulnerability, an attacker could execute arbitrary PHP code on the server, leading to complete takeover of the system. Imagine giving someone the keys to a school’s server room — they could steal sensitive data, deface the site, or even cause total shutdowns. This is absolutely devastating!

Put simply

Think of it like a college dorm where anyone can sneak in and leave packages without being checked. If a malicious actor can just drop off a dangerous file, it’s only a matter of time before chaos ensues! The vulnerability arises from the use of the file_put_contents() function without proper validation, allowing attackers to upload and execute malicious files on the server.

What to do

With this vulnerability, an attacker could execute arbitrary PHP code on the server, leading to complete takeover of the system. Imagine giving someone the keys to a school’s server room — they could steal sensitive data, deface the site, or even cause total shutdowns. This is absolutely devastating! Immediately patch your Simple College Website to version 1.1 or later. Additionally, ensure server configurations restrict file uploads and implement robust input validation to prevent unauthorized file writes. Don't delay this fix! You’ve got this! By following these steps, you’ll secure your site and keep those pesky attackers at bay. 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01894 · 79.5th percentile
Published
2022-09-22T21:29Z
EPSS history
Timeline
  • 22 SEP 21:29Z
    Simple College Website v1.0 was discovered to contain an arbitrary file write vulnerability via the function file_put_contents()
    cvelistv5