Описание
Cosenary Instagram-PHP-API contains reflected XSS vulnerability
cosenary Instagram-PHP-API (aka Instagram PHP API V2), used in the UserPro plugin through 4.9.32 for WordPress, is vulnerable to cross-site scripting via the example/success.php error_description parameter.
Vulnerable code:
if (isset($_GET['error'])) {
echo 'An error occurred: ' . $_GET['error_description'];
}
Proof-of-Concept:
https://domain.tld/wp-content/plugins/userpro/lib/instagram/vendor/cosenary/instagram/example/success.php?error=&error_description=<PAYLOAD>
Ссылки
- https://nvd.nist.gov/vuln/detail/CVE-2019-14470
- https://github.com/cosenary/Instagram-PHP-API/blob/master/example/success.php#L33-L36
- https://wpvulndb.com/vulnerabilities/9815
- https://www.exploit-db.com/exploits/47304
- http://packetstormsecurity.com/files/154206/WordPress-UserPro-4.9.32-Cross-Site-Scripting.html
Пакеты
Наименование
cosenary/instagram
composer
Затронутые версииВерсия исправления
<= 2.3
Отсутствует
Связанные уязвимости
CVSS3: 6.1
nvd
больше 6 лет назад
cosenary Instagram-PHP-API (aka Instagram PHP API V2), as used in the UserPro plugin through 4.9.32 for WordPress, has XSS via the example/success.php error_description parameter.