CVE-2021-33570 Information

Description

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.

CVSS Vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Reference

https://github.com/Tridentsec-io/postbird https://github.com/Paxa/postbird/issues/134 https://github.com/Paxa/postbird/issues/132 https://github.com/Paxa/postbird/issues/133 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://www.exploit-db.com/exploits/49910 https://tridentsec.io/blogs/postbird-cve-2021-33570/

Attack Complexity

LOW

Privileges Required

LOW

User Interaction Required

LOW

Scope

REQUIRED

Confidentiality Impact

CHANGED

Integrity Impact

LOW

Availability Impact

LOW

Base Score

NONE

Base Severity

5.4

Share on: