medium5.4Public exploit code
CVE-2021-33570
Postbird 0.8.4 allows stored XSS via the onerror attribute of an IMG element in any PostgreSQL database table.
Public exploit code
Working exploit or proof of concept code has been published for this vulnerability. Treat unpatched systems as at risk.
- Postbird 0.8.4 - Javascript Injection2021-05-27 · webapps · multiple
Impact
Postbird 0.8.4 allows stored XSS via the onerror attribute of an IMG element in any PostgreSQL database table. This can result in reading local files via vectors involving XMLHttpRequest and open of a file:/// URL, or discovering PostgreSQL passwords via vectors involving Window.localStorage and savedConnections.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Postbird Project | Postbird | Version 0.8.4 |
Weakness classification
References
- NVD record
- CVE.org record
- http://packetstormsecurity.com/files/162831/Postbird-0.8.4-Cross-Site-Scripting-Local-File-Inclusion.html
- http://packetstormsecurity.com/files/162872/Postbird-0.8.4-XSS-LFI-Insecure-Data-Storage.html
- https://github.com/Paxa/postbird/issues/132
- https://github.com/Paxa/postbird/issues/133
- https://github.com/Paxa/postbird/issues/134
- https://github.com/Tridentsec-io/postbird
- https://tridentsec.io/blogs/postbird-cve-2021-33570/
- https://www.exploit-db.com/exploits/49910
- http://packetstormsecurity.com/files/162831/Postbird-0.8.4-Cross-Site-Scripting-Local-File-Inclusion.html
- http://packetstormsecurity.com/files/162872/Postbird-0.8.4-XSS-LFI-Insecure-Data-Storage.html
- https://github.com/Paxa/postbird/issues/132
- https://github.com/Paxa/postbird/issues/133
- https://github.com/Paxa/postbird/issues/134
- https://github.com/Tridentsec-io/postbird
- https://tridentsec.io/blogs/postbird-cve-2021-33570/
- https://www.exploit-db.com/exploits/49910