Path Traversal in notrinos/notrinos-erp (GHSA-qv4m-m73m-8hj7)
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
A vulnerability tracked as GHSA-qv4m-m73m-8hj7 has been found in notrinos/notrinos-erp.
Attackers can target a specific entry point like POST /hrm/manage/employees.php over the network to misuse the product.
Successful exploitation can lead to full system takeover.
What to do: apply the vendor's official patched release.
If unsure, ask your IT team or search "notrinos/notrinos-erp GHSA-qv4m-m73m-8hj7" on the vendor's site.
GHSA-qv4m-m73m-8hj7 (notrinos/notrinos-erp) — CWE-22
Attack vector: remote (network-reachable) / no user interaction
Attack surface: POST /hrm/manage/employees.php / GET /company/0/documents/employees/1_ / SA_EMPLOYEE / pic
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
Path traversal (CWE-22) exists in notrinos/notrinos-erp. Attackers reach the vulnerable code path via POST /hrm/manage/employees.php.
Check the vendor advisory for the affected versions of notrinos/notrinos-erp. Attack surface: POST /hrm/manage/employees.php / GET /company/0/documents/employees/1_ / SA_EMPLOYEE / pic.
Severity: ?. Successful exploitation can lead to full system takeover.
Update to the patched release per vendor advisory.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual POST /hrm/manage/employees.php requests with malformed payloads or SQL meta-characters. Run grep -r 'notrinos/notrinos-erp' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'notrinos/notrinos-erp' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
notrinos/notrinos-erpを grep し、稼働しているサービス・バージョンを把握する。 -
2
Hunt for indicators of compromisedetect
grep 'POST /hrm/manage/employees.php' /var/log/nginx/access.log | grep -E '(unusual_payload|sqli_pattern)'アクセスログで
POST /hrm/manage/employees.phpへの異常なリクエスト (不正な認証ヘッダ・SQLメタ文字)を過去 30〜90日分捜索。WAF/SIEM があれば該当パスのアラート発火履歴を確認。 -
3
Post-deployment verificationverify
Replay attack against POST /hrm/manage/employees.php on staging to confirm patch closes the vectorパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 2 と同じログクエリでアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| composernotrinos/notrinos-erp |
< 1.1.0→ 1.1.0 |
1.1.0 |
| Packagistnotrinos/notrinos-erp |
< 1.1.0→ 1.1.0 |
1.1.0 |
| notrinosNotrinosERP | — | Not listed |
Original description The description as published by the source.
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.
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- web github.com
- web github.com