Description
EpicStaff 1.2.0 before 1.3.1 contains an insecure direct object reference vulnerability in DocumentViewSet download and copy endpoints that allows authenticated users to access other organizations' documents. Attackers holding Knowledge Sources permissions in one organization can enumerate sequential document IDs to download or copy foreign documents, or insert documents into another organization's collection.
Affected products and versions
EpicStaff EpicStaff1.2.0 – < 1.3.1Fixed in: 1.3.1
CVSS vector, explained
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Privileges required
- Regular user
- User interaction
- Not required
- Scope
- Vulnerable component only
- Confidentiality
- High impact
- Integrity
- Low impact
- Availability
- None
Weakness type (CWE)
- CWE-639 Authorization Bypass Through User-Controlled Key
References
- github.com/EpicStaff/EpicStaff/security/advisories/GHSA-8j32-5vj5-pqvr vendor advisory
- github.com/EpicStaff/EpicStaff/commit/7bddaf8cf689487eb80860894941b7713afab871 patch
- github.com/EpicStaff/EpicStaff/releases/tag/v1.3.1
- github.com/EpicStaff/EpicStaff/blob/v1.3.0/src/django_app/tables/views/knowledge_views/doc
- github.com/EpicStaff/EpicStaff/blob/v1.3.0/src/django_app/tables/services/knowledge_servic
- www.vulncheck.com/advisories/epicstaff-1.2.0-before-1.3.1-idor-via-document-download-and-c
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.