Trudesk through 1.2.11 Missing Authentication on Debug Routes
Impact
Trudesk through 1.2.11 contains a missing authentication vulnerability in debug routes enabled whenever NODE_ENV is unset, letting unauthenticated attackers invoke them remotely. Attackers can call /debug/populatedb to delete all groups, tags and tickets, then log in with seeded accounts using the password 'password'.
Source excerpt · VulnCheckAffected packages
Affected products
Vendor version evidence. Product records are separate from automatic dependency matching.
polonel · trudesk
Other versions: unaffected
| Version / range | Source status |
|---|---|
| 0 through 1.2.11 (inclusive) | affected |
Original source description
Trudesk through 1.2.11 contains a missing authentication vulnerability in debug routes enabled whenever NODE_ENV is unset, letting unauthenticated attackers invoke them remotely. Attackers can call /debug/populatedb to delete all groups, tags and tickets, then log in with seeded accounts using the password 'password'.
References
- Security advisory hackmd.io/@leediay/multiple-vuln-trudesk-1211
- Source reference github.com/polonel/trudesk/blob/v1.2.11/src/routes/index.js
- Source reference github.com/polonel/trudesk/blob/v1.2.11/app.js
- Source reference github.com/polonel/trudesk
- Security advisory www.vulncheck.com/advisories/trudesk-through-1.2.11-missing-authentication-on-debug-routes