Description
PostfixAdmin through 4.0.5 contains a stored cross-site scripting vulnerability that allows authenticated mailbox users to inject script by creating a TOTP exception with an unescaped description. When a global administrator views totp-exceptions.php, the script runs in the admin session and can issue authenticated admin requests using the page's CSRF token.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
postfixadmin postfixadmin
Default version status: unaffected
0 to ≤ 4.0.5affected
pkg:composer/postfixadmin/postfixadminReferences
- https://github.com/postfixadmin/postfixadmin/issues/1185 ↗
- https://github.com/postfixadmin/postfixadmin ↗
- https://github.com/postfixadmin/postfixadmin/commit/0a894b08769481ce1a7f0f42af901c6d9f88fa9c ↗
- https://github.com/postfixadmin/postfixadmin/blob/v4.0.5/public/users/totp-exceptions.php#L128 ↗
- https://github.com/postfixadmin/postfixadmin/blob/v4.0.5/templates/totp-exceptions.tpl#L56 ↗
- https://github.com/postfixadmin/postfixadmin/pull/1172 ↗
- https://github.com/postfixadmin/postfixadmin/pull/1186 ↗
- https://www.vulncheck.com/advisories/postfixadmin-through-4.0.5-stored-xss-via-totp-exception-description ↗