PT-2021-18191 · Unknown · Pear Admin

Ab-Alex

·

Published

2021-08-12

·

Updated

2021-08-23

·

CVE-2021-29377

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions: Pear Admin Think through version 2.1.2
Description: The issue allows attackers to execute arbitrary code remotely due to an arbitrary file upload vulnerability. This is possible because a .php file can be uploaded via the "admin.php/index/upload" endpoint, as the fileExt is mishandled by the UploadService.php in the app/common/service directory.
Recommendations: For version 2.1.2, consider disabling the upload functionality in UploadService.php until a patch is available to prevent the execution of arbitrary code. Restrict access to the "admin.php/index/upload" endpoint to minimize the risk of exploitation.

Exploit

Fix

Unrestricted File Upload

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2021-29377

Affected Products

Pear Admin