vendor:
UserPro
by:
Damian Ebelties
6.1
CVSS
MEDIUM
Reflected Cross-Site Scripting (XSS)
79
CWE
Product Name: UserPro
Affected Version From: <= 4.9.32
Affected Version To: <= 4.9.32
Patch Exists: YES
Related CWE: CVE-2019-14470
CPE: 2.3:a:codecanyon:userpro:4.9.32
Metasploit:
N/A
Other Scripts:
N/A
Platforms Tested: Ubuntu 18.04.1
2019
UserPro <= 4.9.32 Reflected XSS
The WordPress plug-in 'UserPro' uses a Instagram library (Instagram PHP API V2 by cosenary) that is vulnerable for Reflected Cross-Site Scripting (XSS). There is more vulnerable code in 'UserPro' core, might release that later. As of today (25 August 2019) this issue is unfixed. Vulnerable code: (success.php on line 36) if (isset($_GET['error'])) { echo 'An error occurred: ' . $_GET['error_description']; } > https://github.com/cosenary/Instagram-PHP-API/blob/master/example/success.php#L36 Proof-of-Concept: https://domain.tld/wp-content/plugins/userpro/lib/instagram/vendor/cosenary/instagram/example/success.php?error=&error_description=<PAYLOAD>
Mitigation:
Update to the latest version of UserPro