NotrinosERP: Authenticated arbitrary file upload leads to remote code execution via HRM employee "Documents" (doc_file)
#### Summary
An authenticated user with the HR "Manage Employees" permission (`SA_EMPLOYEE`) can upload a
file with an arbitrary extension through the employee **Documents** tab. The handler writes the
raw client-supplied filename — extension intact — into a web-served directory with no extension,
MIME, or content validation, so a `.php` file is stored under the web root and executes as code,
yielding remote code execution on the server.
#### Details
The document-upload branch in `hrm/manage/employees.php` (function `tab_documents()`) moves the
uploaded file using the client filename verbatim:
```php
// hrm/manage/employees.php -> tab_docum
Exposure of Private Personal Information to an Unauthorized Actor in notrinos/notrinoserp
Exposure of Private Personal Information to an Unauthorized Actor in GitHub repository notrinos/notrinoserp prior to v0.7. This results in privilege escalation to a system administrator account. An attacker can gain access to protected functionality such as create/update companies, install/update languages, install/activate extensions, install/activate themes and other permissive actions.