CVE-2021-33570
Postbird Project Postbird vulnerability
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
Postbird. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Postbird Project Postbird runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- packetstormsecurity.com/files/162831/Postbird-0.8.4-Cross-Site-Scripting-Local-File-Inclus · Exploit
- packetstormsecurity.com/files/162872/Postbird-0.8.4-XSS-LFI-Insecure-Data-Storage.html · Third Party Advisory
- github.com/Paxa/postbird/issues/132 · Third Party Advisory
- github.com/Paxa/postbird/issues/133 · Third Party Advisory
- github.com/Paxa/postbird/issues/134 · Third Party Advisory
- github.com/Tridentsec-io/postbird · Exploit
- tridentsec.io/blogs/postbird-cve-2021-33570/ · Third Party Advisory
- www.exploit-db.com/exploits/49910 · Exploit
- nvd.nist.gov/vuln/detail/CVE-2021-33570
- cve.org/CVERecord?id=CVE-2021-33570
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.