How can I find the available input points?

Source: Internet
Author: User

This is not an article about technology, but an attempt of open thinking. It mainly focuses on how to find available input points when filtering input.

In essence, to perform xss attacks, you only need to find an unfiltered Input Point. The input data can be parsed in the software supporting scripts (not limited to browsers. Sqli is similar. The input point is not just a form on the webpage. As long as you discover it, the input point is everywhere. I would like to introduce some valuable ideas and share your ideas.

User agent field

Not only the useragent field, but also other fields in the header. For example, change useragent

"<script>window.location = "http://www.freebuf.com/"</script>"

Many log analysis tools generate reports in html format. If this field does not have proper filtering encoding, It is output in html. When the Administrator views the field, the inserted js is executed. Splunk once experienced an xss vulnerability because the referer field is not filtered.

SSIDs

This is just a hypothetical attack method. SSIDs can contain 32 characters or even non-printable ASCII characters, and the SSID may appear in some logs that record wi-fi connection records.

Event Log

Many people use third-party log viewing tools to analyze logs. If we use

<script>alert("XSS");</script>

Log on as the user name. logs are recorded in logs after logon fails. If a third-party tool does not properly filter encoding strings, the Administrator may be vulnerable to xss attacks when viewing html reports generated by the tool.

Computer Name and description

I have practiced this scenario in Softperfect's NetScan. Insert xss code here when the Penetration Tester checks the scan report .....

Application name and metadata

Some management software will list the software information installed on the computer, if it is implemented in html...

Banners

Most network scanners can recognize banner and output multiple formats, such as html and xml.

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.