CVE-2021-29377

Pear Admin Think through 2.1.2 has an arbitrary file upload vulnerability that allows attackers to execute arbitrary code remotely

published August 12, 2021

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

⚠️ A seemingly innocent file upload feature hides a dark secret! In Pear Admin Think 2.1.2, attackers can upload malicious .php files via admin.php/index/upload, slipping past the defenses like a ninja under the radar. 🔥 Think of this like a restaurant that allows deliveries but fails to check the ingredients—imagine the chaos if someone delivers a dish full of rotten food! Here, the UploadService.php is the delivery person, completely missing the red flags. An attacker exploiting this vulnerability could execute arbitrary code on the server, granting them access to sensitive data, or even total control over the system. This could lead to data breaches or further attacks, making it a serious concern for any user of this version.

Put simply

Think of this like a restaurant that allows deliveries but fails to check the ingredients—imagine the chaos if someone delivers a dish full of rotten food! Here, the UploadService.php is the delivery person, completely missing the red flags. This arbitrary file upload vulnerability arises from the mishandling of file extensions in the UploadService.php file, allowing a .php file to be uploaded without proper validation, leading to remote code execution.

What to do

An attacker exploiting this vulnerability could execute arbitrary code on the server, granting them access to sensitive data, or even total control over the system. This could lead to data breaches or further attacks, making it a serious concern for any user of this version. To protect your system, upgrade to the latest version of Pear Admin Think to patch this vulnerability. Additionally, implement strict file validation checks on uploads to ensure only allowed file types are processed. Regularly review and audit your file upload mechanisms to enhance security. You've got this! Follow these steps, and you’ll be one step closer to securing your application. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01603 · 75.6th percentile
Published
2021-08-12T21:50Z
EPSS history
Timeline
  • 12 AUG 21:50Z
    Pear Admin Think through 2.1.2 has an arbitrary file upload vulnerability that allows attackers to execute arbitrary code remotely
    cvelistv5