Description
httpdbg before 2.2.1 fails to validate URL schemes in recorded HTTP request URLs rendered as clickable links in the web interface. Attackers controlling traffic recorded by httpdbg can supply javascript: scheme URLs that execute malicious scripts in the application origin when clicked, allowing access to captured request and response data including headers and tokens.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| cle-b | httpdbg | < 2.2.1 | 2.2.1 |
References
- https://github.com/cle-b/httpdbg/issues/220 issue-tracking
- https://github.com/cle-b/httpdbg/pull/222 patch issue-tracking
- https://github.com/cle-b/httpdbg/commit/121845b41c19ddaf30b51be0797bc2ff4847d8b3 patch
- https://github.com/cle-b/httpdbg/releases/tag/v2.2.1 release-notes
- https://github.com/cle-b/httpdbg/blob/v2.2.0/httpdbg/webapp/static/index.htm#L302 technical-description
- https://github.com/cle-b/httpdbg/blob/v2.2.0/httpdbg/hooks/recordhttp2.py#L88-L97 technical-description
- https://github.com/cle-b/httpdbg product
- VulnCheck Advisory: httpdbg before 2.2.1 Stored Cross-Site Scripting via javascript URL third-party-advisory