{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-24765","id":"CVE-2024-24765","title":"CasaOS-UserService allows unauthorized access to any file","description":"CasaOS-UserService provides user management functionalities to CasaOS. Prior to version 0.4.7, path filtering of the URL for user avatar image files was not strict, making it possible to get any file on the system. This could allow an unauthorized actor to access, for example, the CasaOS user database, and possibly obtain system root privileges. Version 0.4.7 fixes this issue.","descriptionLong":"CasaOS-UserService provides user management functionalities to CasaOS. Prior to version 0.4.7, path filtering of the URL for user avatar image files was not strict, making it possible to get any file on the system. This could allow an unauthorized actor to access, for example, the CasaOS user database, and possibly obtain system root privileges. Version 0.4.7 fixes this issue.","published":"2024-03-06T17:31:56.841Z","updated":"2026-10-28T02:30:53.941110108Z","reserved":"2024-01-29T20:51:26.011Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["IceWhaleTech CasaOS-UserService"],"affectedProducts":[{"vendor":"IceWhaleTech","product":"CasaOS-UserService","defaultStatus":null,"versions":[{"version":"< 0.4.7","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/IceWhaleTech/CasaOS-UserService","purl":"pkg:golang/github.com/IceWhaleTech/CasaOS-UserService","ranges":["<0.4.7"],"fixed":["0.4.7"],"advisory":"GHSA-h5gf-cmm8-cg7c"}],"cwes":["CWE-200"],"aliases":["GHSA-h5gf-cmm8-cg7c","GO-2024-2616"],"references":[{"url":"https://github.com/IceWhaleTech/CasaOS-UserService/security/advisories/GHSA-h5gf-cmm8-cg7c","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Vendor Advisory","advisory","web"]},{"url":"https://github.com/IceWhaleTech/CasaOS-UserService/commit/3f4558e23c0a9958f9a0e20aabc64aa8fd51840e","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://github.com/IceWhaleTech/CasaOS-UserService/releases/tag/v0.4.7","tags":["x_refsource_MISC","x_transferred","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/24xxx/CVE-2024-24765.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-24765","tags":["advisory"]},{"url":"https://github.com/IceWhaleTech/CasaOS-UserService","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.00971,"epssPercentile":0.62643,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-24765","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-24765","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-24765","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-h5gf-cmm8-cg7c","ok":true,"note":"GHSA-h5gf-cmm8-cg7c"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-24765","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}