In WordPress before 5.2.3, validation and sanitization of a URL in wp_validate_redirect in wp-includes/pluggable.php could lead to an open redirect if a provided URL path does not start with a forward slash.
The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.
Link | Tags |
---|---|
https://wpvulndb.com/vulnerabilities/9863 | third party advisory |
https://wordpress.org/news/2019/09/wordpress-5-2-3-security-and-maintenance-release/ | release notes vendor advisory |
https://core.trac.wordpress.org/changeset/45971 | patch vendor advisory |
https://github.com/WordPress/WordPress/commit/c86ee39ff4c1a79b93c967eb88522f5c09614a28 | third party advisory patch |
https://lists.debian.org/debian-lts-announce/2019/10/msg00023.html | third party advisory mailing list |
https://seclists.org/bugtraq/2020/Jan/8 | third party advisory mailing list |
https://www.debian.org/security/2020/dsa-4599 | third party advisory vendor advisory |
https://www.debian.org/security/2020/dsa-4677 | third party advisory vendor advisory |
https://medium.com/@theodorejackson.us/rediscovering-an-old-vulnerability-cve-2019-16220-d25cc441752f |