Full Disclosure mailing list archives

Re: Wordpress Content Text Slider on Post 6.8 - Persistent Vulnerability


From: Ryan Dewhurst <ryandewhurst () gmail com>
Date: Wed, 23 Dec 2015 11:17:24 +0100

The POST request contains a CSRF nonce that is validated by the server and
an administrator user is the only role that is able to use the plugin (at
least by default).

Only an administrator user is able to execute JavaScript using the issue
you described due to the limitations I mentioned above.

An administrator user already has the permission to embed JavaScript and
execute PHP within WordPress as long as they have a valid CSRF nonce.

This is a none issue IMO, although it is recommended that the plugin does
sanitise user input and encode user output. But in its current form I can
not see how this is exploitable.

On Tue, Dec 22, 2015 at 3:58 PM, Vulnerability Lab <
research () vulnerability-lab com> wrote:

Document Title:
===============
Wordpress Content Text Slider on Post 6.8 - Persistent Vulnerability


References (Source):
====================
http://www.vulnerability-lab.com/get_content.php?id=1655


Release Date:
=============
2015-12-07


Vulnerability Laboratory ID (VL-ID):
====================================
1655


Common Vulnerability Scoring System:
====================================
3.5


Product & Service Introduction:
===============================
Content text slider on post is a WordPress plugin from gopiplus.com
website. We can use this plugin to scroll the content vertically in the
posts and pages. We have option to enter content title, description and
link for the content. All entered details scroll vertically into the
posts and pages. Yes we can enter the html content into the description
text area also we can include the images into the scroller.

(Copy of the Vendor Homepage:
https://wordpress.org/plugins/content-text-slider-on-post/ )


Abstract Advisory Information:
==============================
An independent vulnerability laboratory researcher discovered an
application-side cross site scripting web vulnerability in the Wordpress
Content Text Slider v6.8 web-application.


Vulnerability Disclosure Timeline:
==================================
2015-12-07:     Public Disclosure (Vulnerability Laboratory)


Discovery Status:
=================
Published


Affected Product(s):
====================
GoPiPlus
Product: Content Text Slider On Post - Plugin (Web-Application) 6.8


Exploitation Technique:
=======================
Remote


Severity Level:
===============
Medium


Technical Details & Description:
================================
An application-side POST inject web vulnerability has been discovered in
the Wordpress Content Text Slider v6.8 web-application.
The vulnerability allows remote attackers to inject own malicious script
codes to the application-side of the online-service.

The vulnerability is located in the `page` value parameter of the
`options-general.php` file. Remote attackers are able to inject
via POST method request to the `Title` or `Message/Content` input fields.
After that the attacker is able to execute the code by
usage of the insert details button. The execution of the malicious
injected script code occurs in the `All popups` module when
processing to request manually. An attacker is able to steal the admin
cookie by usage of a moderator account. The attack vector
is persistent on the application-side and the request method to inject is
POST.

The security risk of the application-side web vulnerability is estimated
as medium with a cvss (common vulnerability scoring system) count of 3.5.
Exploitation of the application-side web vulnerability requires no
privilege web-application user account and only low or medium user
interaction.
Successful exploitation of the vulnerabilities results in persistent
phishing, session hijacking, persistent external redirect to malicious
sources and application-side manipulation of affected or connected module
context.

Request Method(s):
                                [+] POST
Vulnerable File(s):
                                [+] options-general.php
Vulnerable Module(s):
                                [+] Title or Message/Content
Vulnerable Parameter(s):
                                [+] page
Affected Module(s):
                                [+] All popups


Proof of Concept (PoC):
=======================
The vulnerbaility can be exploited by remote attackers without privilege
web-application user account and low or medium user interaction.
For security demonstration or to reproduce the vulnerability follow the
provided information and steps below to continue.

Google Dork: inurl:/wp-content/plugins/content-text-slider-on-post/

Manual steps to reproduce the vulnerability ...
1. First you should Install content text slider on post
2. Add the following details as link
Note:
http://localhost:8080/wp-admin/options-general.php?page=content-text-slider-on-post&ac=add
3. In the "Title" or "Message/Content" text area you can input place your
javascript code and click on "insert detail" button
4. Execute the javascript codes in the "All popups" page
Note:
http://localhost:8080/wp-admin/options-general.php?page=content-text-slider-on-post
5. Successful reproduce of the vulnerability!

Note: Attackers can steal admin cookie with moderator access to compromise
the account system of the wordpress application and connected dbms.


Security Risk:
==============
The security risk of the persistent POST Inject web vulnerability in the
wordpress content text slider module is estimated as medium. (CVSS 3.5)


Credits & Authors:
==================
ALIREZA_PROMIS
Special Thanks : Sajjad Sotoudeh [Forum: http://iransec.net/forums]
Friends: Mr.Moein  , sheytan azzam , Mr.PERSIA  , HellBoy.Blackhat, Jok3r
,  Kamran Helish ,  Dr.RooT


Disclaimer & Information:
=========================
The information provided in this advisory is provided as it is without any
warranty. Vulnerability Lab disclaims all warranties, either expressed
or implied, including the warranties of merchantability and capability for
a particular purpose. Vulnerability-Lab or its suppliers are not liable
in any case of damage, including direct, indirect, incidental,
consequential loss of business profits or special damages, even if
Vulnerability-Lab
or its suppliers have been advised of the possibility of such damages.
Some states do not allow the exclusion or limitation of liability for
consequential or incidental damages so the foregoing limitation may not
apply. We do not approve or encourage anybody to break any vendor licenses,
policies, deface websites, hack into databases or trade with fraud/stolen
material.

Domains:    www.vulnerability-lab.com           - www.vuln-lab.com
                              - www.evolution-sec.com
Contact:    admin () vulnerability-lab com         -
research () vulnerability-lab com                        -
admin () evolution-sec com
Section:    magazine.vulnerability-db.com       -
vulnerability-lab.com/contact.php                     -
evolution-sec.com/contact
Social:     twitter.com/#!/vuln_lab             -
facebook.com/VulnerabilityLab                         -
youtube.com/user/vulnerability0lab
Feeds:      vulnerability-lab.com/rss/rss.php   -
vulnerability-lab.com/rss/rss_upcoming.php            -
vulnerability-lab.com/rss/rss_news.php
Programs:   vulnerability-lab.com/submit.php    -
vulnerability-lab.com/list-of-bug-bounty-programs.php -
vulnerability-lab.com/register/

Any modified copy or reproduction, including partially usages, of this
file requires authorization from Vulnerability Laboratory. Permission to
electronically redistribute this alert in its unmodified form is granted.
All other rights, including the use of other media, are reserved by
Vulnerability-Lab Research Team or its suppliers. All pictures, texts,
advisories, source code, videos and other information on this website
is trademark of vulnerability-lab team & the specific authors or managers.
To record, list (feed), modify, use or edit our material contact
(admin () vulnerability-lab com or research () vulnerability-lab com) to get a
permission.

                                Copyright © 2015 | Vulnerability
Laboratory - [Evolution Security GmbH]™

--
VULNERABILITY LABORATORY - RESEARCH TEAM
SERVICE: www.vulnerability-lab.com
CONTACT: research () vulnerability-lab com
PGP KEY:
http://www.vulnerability-lab.com/keys/admin () vulnerability-lab com%280x198E9928%29.txt



_______________________________________________
Sent through the Full Disclosure mailing list
https://nmap.org/mailman/listinfo/fulldisclosure
Web Archives & RSS: http://seclists.org/fulldisclosure/

_______________________________________________
Sent through the Full Disclosure mailing list
https://nmap.org/mailman/listinfo/fulldisclosure
Web Archives & RSS: http://seclists.org/fulldisclosure/

Current thread: