NotrinosERP code execution via employee document upload
NotrinosERP
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| notrinos/notrinos-erp Packagist |
|
|
Original description
NotrinosERP is an open-source web-based enterprise resource planning system written in PHP and MySQL. From 1.0.0 until 1.1.0, the employee document handler in hrm/manage/employees.php allows an authenticated user with SA_EMPLOYEE permission to submit doc_file through tab_documents() and stores the raw client filename, including an executable extension, under company/0/documents/employees/ without extension, MIME, or content validation. Uploading a PHP file places executable content beneath the web root, where requesting the stored file results in server-side code execution. This issue is fixed in version 1.1.0.
From the CVE record · GitHub_M