CVE-2016-10752

serendipity_moveMediaDirectory in Serendipity 2.0.3 allows remote attackers to upload and execute arbitrary PHP code because it mishandles an extensionless…

published May 24, 2019

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

⚡ An extensionless filename can lead to remote code execution in Serendipity 2.0.3! An attacker could simply rename a file to 'php' and gain full control—yikes! 🔥 Think of a restaurant where the chef accidentally serves a dish without labeling it. When the waiter brings out an unmarked dish, anyone could end up with a surprise entrée they never ordered—potentially dangerous! An attacker could upload and execute arbitrary PHP code on the server, leading to unauthorized access, data exposure, and complete control over the server. This could result in devastating consequences for site integrity and user data!

Put simply

Think of a restaurant where the chef accidentally serves a dish without labeling it. When the waiter brings out an unmarked dish, anyone could end up with a surprise entrée they never ordered—potentially dangerous! The vulnerability in serendipity_moveMediaDirectory mishandles extensionless filenames, allowing an attacker to perform a rename operation that uploads malicious PHP code, which then executes on the server.

What to do

An attacker could upload and execute arbitrary PHP code on the server, leading to unauthorized access, data exposure, and complete control over the server. This could result in devastating consequences for site integrity and user data! To mitigate this risk, update Serendipity to the latest version immediately, ensuring that filename validation is implemented correctly. Review your application for any similar filename handling issues as well. You’ve got this! Secure your site, and let’s keep those pesky attackers at bay! 🦸

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.02346 · 83.4th percentile
Published
2019-05-24T17:40Z
EPSS history
Timeline
  • 24 MAY 17:40Z
    serendipity_moveMediaDirectory in Serendipity 2.0.3 allows remote attackers to upload and execute arbitrary PHP code because it mishandles an extensionless…
    cvelistv5