Description (CNA)
Qinglong is a timed task management platform supporting Python3, JavaScript, Shell, and Typescript. Prior to 2.20.1, the init guard middleware in back/loaders/express.ts checks /api/user/init but not /open/user/init, while rewrite('/open/*', '/api/$1') rewrites the whitelisted /open/* path after JWT authentication and the guard have passed; an unauthenticated attacker can send PUT /open/user/init to reset administrator credentials on an initialized instance. This issue is fixed in 2.20.1.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| whyour / qinglong | affected < 2.20.1 |
CWE
CWE-287
References
- https://github.com/whyour/qinglong/security/advisories/GHSA-v667-gc2r-2xm7
- https://github.com/whyour/qinglong/pull/2941
- https://github.com/whyour/qinglong/commit/6bec52dca158481258315ba0fc2f11206df7b719
ADP enrichment
No English description supplied.