Multiple vulnerabilities in TuziCMS



Published: 2019-09-21 | Updated: 2019-09-23
Risk High
Patch available NO
Number of vulnerabilities 5
CVE-ID CVE-2019-16642
CVE-2019-16644
CVE-2019-16657
CVE-2019-16659
CVE-2019-16658
CWE-ID CWE-89
CWE-79
CWE-352
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Public exploit code for vulnerability #2 is available.
Vulnerable software
Subscribe
TuziCMS
Web applications / CMS

Vendor TuziCMS

Security Bulletin

This security bulletin contains information about 5 vulnerabilities.

Update 23.09.2019 
Added vulnerabilities #3-5, updated bulletin name.

1) SQL injection

EUVDB-ID: #VU21248

Risk: High

CVSSv3.1: 8.6 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N/E:P/RL:U/RC:C]

CVE-ID: CVE-2019-16642

CWE-ID: CWE-89 - Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary SQL queries in database.

The vulnerability exists in the App\Mobile\Controller\ZhuantiController.class.php file due to insufficient sanitization of user-supplied data passed via the id parameter to index.php/Mobile/Zhuanti/group URL. A remote attacker can send a specially crafted request to the affected application and execute arbitrary SQL commands within the application database.

Successful exploitation of this vulnerability may allow a remote attacker to read, delete, modify data in database and gain complete control over the affected application.

Exploit:

http://[host]/index.php/Mobile/Zhuanti/group?id=1%20and%20(extractvalue(1,concat(0x7e,(select%20user()),0x7e)))

Mitigation

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

Vulnerable software versions

TuziCMS: 2.0.6

External links

http://github.com/yeyinshi/tuzicms/issues/6


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) SQL injection

EUVDB-ID: #VU21247

Risk: High

CVSSv3.1: 8.6 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N/E:P/RL:U/RC:C]

CVE-ID: CVE-2019-16644

CWE-ID: CWE-89 - Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary SQL queries in database.

The vulnerability exists in the App\Home\Controller\ZhuantiController.class.php file due to insufficient sanitization of user-supplied data passed via the id parameter to /index.php/Zhuanti/group URL. A remote attacker can send a specially crafted request to the affected application and execute arbitrary SQL commands within the application database.

Successful exploitation of this vulnerability may allow a remote attacker to read, delete, modify data in database and gain complete control over the affected application.

Exploit:

http://[host]/index.php/Zhuanti/group?id=1 and (extractvalue(1,concat(0x7e,(select VERSION()),0x7e)))

Mitigation

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

Vulnerable software versions

TuziCMS: 2.0.6

External links

http://github.com/yeyinshi/tuzicms/issues/6


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.

3) Cross-site scripting

EUVDB-ID: #VU21264

Risk: Low

CVSSv3.1: 5.6 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:U/RL:U/RC:C]

CVE-ID: CVE-2019-16657

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

Exploit availability: No

Description

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

The vulnerability exists due to insufficient sanitization of user-supplied data passed to the "index.php/article/group/id/2/" when processing the PATH_INFO to a group URI. 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.

Example:

http://[host]/index.php/article/group/id/2/%f6%22%20onmouseover%3dprompt("XSS")%20///1.html

Mitigation

Install update from vendor's website.

Vulnerable software versions

TuziCMS: 2.0.6

External links

http://github.com/yeyinshi/tuzicms/issues/5


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.

4) Cross-site request forgery

EUVDB-ID: #VU21266

Risk: Low

CVSSv3.1: 5.6 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:U/RL:U/RC:C]

CVE-ID: CVE-2019-16659

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 in routinely managed friendship links due to insufficient validation of the HTTP request origin in the "index.php/manage/link/do_add". A remote attacker can trick the victim to visit a specially crafted web page and perform arbitrary actions on behalf of the victim on the vulnerable website.

Example:

<html>
  <body>
  <script>history.pushState('', '', '/')</script>
    <form action="http://[host]/tuzicms-master/index.php/manage/link/do_add" method="POST">
      <input type="hidden" name="link&#95;name" value="a" />
      <input type="hidden" name="link&#95;url" value="http&#58;&#47;&#47;www&#46;hack&#46;com" />
      <input type="hidden" name="link&#95;sort" value="100" />
      <input type="hidden" name="link&#95;description" value="aaa" />
      <input type="submit" value="Submit request" />
    </form>
  </body>
</html>

Mitigation

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

Vulnerable software versions

TuziCMS: 2.0.6

External links

http://github.com/yeyinshi/tuzicms/issues/3


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.

5) Cross-site request forgery

EUVDB-ID: #VU21265

Risk: Low

CVSSv3.1: 5.6 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:U/RL:U/RC:C]

CVE-ID: CVE-2019-16658

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 to insufficient validation of the HTTP request origin in the "index.php/manage/notice/do_add". A remote attacker can trick the victim to visit a specially crafted web page and perform arbitrary actions on behalf of the victim on the vulnerable website, such as post announcements.

Example:

<html>
  <body>
  <script>history.pushState('', '', '/')</script>
    <form action="http://[host]/tuzicms-master/index.php/manage/notice/do_add" method="POST" enctype="multipart/form-data">
      <input type="hidden" name="notice&#95;title" value="hacker" />
      <input type="hidden" name="notice&#95;url" value="http&#58;&#47;&#47;www&#46;hacker&#46;com" />
      <input type="submit" value="Submit request" />
    </form>
  </body>
</html>

Mitigation

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

Vulnerable software versions

TuziCMS: 2.0.6

External links

http://github.com/yeyinshi/tuzicms/issues/4


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.



###SIDEBAR###