{"id":"CVE-2024-28232","aliases":["CVE-2024-28232","GHSA-hcw2-2r9c-gc6p","GO-2024-2668"],"related":["CVE-2024-24766"],"kind":"vulnerability","state":"published","title":"Username Enumeration in CasaOS via bypass of CVE-2024-24766","summary":"Go package IceWhaleTech/CasaOS-UserService provides user management functionalities to CasaOS. The Casa OS Login page has disclosed the username enumeration vulnerability in the login page which was patched in version 0.4.7. This issue in CVE-2024-28232 has been patched in version 0.4.8 but that version has not yet been uploaded to Go's package manager.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Go package IceWhaleTech/CasaOS-UserService provides user management functionalities to CasaOS. The Casa OS Login page has disclosed the username enumeration vulnerability in the login page which was patched in version 0.4.7. This issue in CVE-2024-28232 has been patched in version 0.4.8 but that version has not yet been uploaded to Go's package manager.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nThe Casa OS Login page has disclosed the username enumeration vulnerability in the login page which was patched in `CasaOS  v0.4.7`.\n\n### Details\n\nIt is observed that the attacker can enumerate the CasaOS username using the application response. If the username is incorrect the application gives the error \"**User does not exist**\" with success code \"**10006**\", If the password is incorrect the application gives the error \"**User does not exist or password is invalid**\" with success code \"**10013**\".\n\n### PoC\n\n1. If the Username is invalid application gives \"User does not exist\" with success code \"**10006**\".\n\n![1](https://github.com/IceWhaleTech/CasaOS-UserService/assets/63414468/a6eb4321-b2f3-4fba-aa8e-e1d0fbf58187)\n\n2. If the Password is invalid application gives  \"**User does not exist or password is invalid**\" with success code \"**10013**\".\n\n![2](https://github.com/IceWhaleTech/CasaOS-UserService/assets/63414468/126eff54-eeb0-4ee6-bc46-695376b5e5cd)\n\n\n### Impact\n\nUsing this error attacker can enumerate the username of CasaOS.\n\n### The logic behind the issue\n\nThe logic behind the issue\nIf the username is incorrect, then throw an error  \"**User does not exist**\" with success code \"**10006**\", else throw an error \"**User does not exist or password is invalid**\" with success code \"**10013**\".\n\nThis condition can be vice versa like:\n\nIf the password is incorrect, then throw an error \"**User does not exist or password is invalid**\" with success code \"**10013**\", else throw an error  \"**User does not exist**\" with success code \"**10006**\".\n\n### Mitigation\nSince this is the condition we have to implement a single error which can be \"**Username/Password is Incorrect!!!**\" with single success code.","format":"markdown","source":"ghsa"},{"lang":"en","text":"The Casa OS Login page has a username enumeration vulnerability in the login page that was patched in Casa OS v0.4.7. The issue exists because the application response differs depending on whether the username or password is incorrect, allowing an attacker to enumerate usernames by observing the application response. For example, if the username is incorrect, the application returns \"User does not exist\" with return code \"10006\", while if the password is incorrect, it returns \"User does not exist or password is invalid\" with return code \"10013\". This allows an attacker to determine if a username exists without knowing the password.","format":"markdown","source":"go"},{"lang":"es","text":"El paquete IceWhaleTech/CasaOS-UserService para Go proporciona funcionalidades de gestión de usuarios a CasaOS. La página de inicio de sesión de CasaOS ha revelado la vulnerabilidad de enumeración de nombres de usuario en la página de inicio de sesión que fue parcheada en la versión 0.4.7. Este problema en CVE-2024-28232 se solucionó en la versión 0.4.8, pero esa versión aún no se ha cargado en el administrador de paquetes de Go.","source":"nvd"}],"published":"2024-04-01T15:48:15.000Z","modified":"2026-06-17T07:21:13.720Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":6.2,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":6.2,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":6.2,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-204"],"affected":[{"ranges":[{"version":"= 0.4.7","status":"affected"}],"vendor":"IceWhaleTech","product":"CasaOS-UserService","source":"cvelist"},{"ranges":[{"version":"0.4.7","status":"affected"}],"vendor":"icewhaletech","product":"casaos-userservice","cpe":"cpe:2.3:a:icewhaletech:casaos-userservice:0.4.7:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.4.7","status":"affected","fixed":"0.4.8"}],"ecosystem":"Go","package":"github.com/IceWhaleTech/CasaOS-UserService","purl":"pkg:golang/github.com/IceWhaleTech/CasaOS-UserService","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.4.8"}],"ecosystem":"Go","package":"github.com/IceWhaleTech/CasaOS-UserService","purl":"pkg:golang/github.com/IceWhaleTech/CasaOS-UserService","source":"go"},{"ranges":[{"status":"affected","version":"0.4.7"}],"vendor":"icewhale","product":"casaos-userservice","cpe":"cpe:2.3:a:icewhale:casaos-userservice:0.4.7:-:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/IceWhaleTech/CasaOS-UserService/security/advisories/GHSA-hcw2-2r9c-gc6p","tags":["exploit","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/IceWhaleTech/CasaOS-UserService/commit/dd927fe1c805e53790f73cfe10c7a4ded3bc5bdb","tags":["fix","patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-28232","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/IceWhaleTech/CasaOS-UserService","tags":["package"],"sources":["ghsa"]}],"credits":["DrDark1999"],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2024-04-01T19:15:48.106Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-28232","url":"https://www.cve.org/CVERecord?id=CVE-2024-28232","licence":"CVE Terms of Use","modified":"2024-08-02T00:48:49.710Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hcw2-2r9c-gc6p","url":"https://github.com/advisories/GHSA-hcw2-2r9c-gc6p","licence":"CC-BY-4.0","modified":"2026-02-04T03:47:27.000Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-2668","url":"https://pkg.go.dev/vuln/GO-2024-2668","licence":"CC-BY-4.0","modified":"2024-05-20T16:03:47.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-28232","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-28232","licence":"Public domain","modified":"2026-06-17T07:21:13.720Z"}],"updatedAt":"2026-11-25T22:58:38.295Z","epss":{"score":0.00618,"percentile":0.50976,"date":"2026-12-01T12:00:22.000Z"}}