4.7 Input Validation Testing
Input Validation Testing
4.7.1 Testing for Reflected Cross Site Scripting
(?:\?|&)(\w+)="><img src=1 onerror=alert(1)>
<script>alert(2)</script>"<Evidence:
4.7.2 Testing for Stored Cross Site Scripting
You can use the previous payloads.
Evidence:
4.7.3 Testing for HTTP Verb Tampering
This section has been merged into: Test HTTP Methods
Evidence:
4.7.4 Testing for HTTP Parameter Pollution
The results should be that the application takes the both parameters instead of only one of them.
Evidence:
4.7.5 Testing for SQL Injection
SQL wordlist & NoSQL Payloads.
Evidence:
4.7.6 Testing for LDAP Injection
Evidence:
4.7.7 Testing for XML Injection
Evidence:
4.7.8 Testing for SSI Injection
Evidence:
4.7.9 Testing for XPath Injection
Evidence:
4.7.10 Testing for IMAP SMTP Injection
Evidence:
4.7.11 Testing for Code Injection
Website/URL Access Parameters
UNIX FI & Windows FI
Evidence:
4.7.12 Testing for Command Injection
Evidence:
4.7.13 Testing for Format String Injection
Evidence:
4.7.14 Testing for Incubated Vulnerability
Evidence:
4.7.15 Testing for HTTP Splitting Smuggling
Evidence:
4.7.16 Testing for HTTP Incoming Requests
Monitor all incoming and outgoing HTTP requests to the Web Server to inspect any suspicious requests.
Evidence:
4.7.17 Testing for Host Header Injection
Modify the value of the
Hostheader in different endpoints on the application.Try to inject
%0d%0a, which represents the CRLF, in order to perform HTTP Splitting.Try to use custom host headers to check if it changes the contents on the application.
Evidence:
4.7.18 Testing for Server-side Template Injection
Identify user input that gets reflected
Insert SSTI polyglots
${{<%[%'"}}%\or payloads.
Identify the templating engine.
Build the exploit.
Evidence:
4.7.19 Testing for Server-Side Request Forgery
Identify function in the application that performs requests to external or internal sources or third parties.
Identify parameters with values that points to internal or external sources.
Test if the injection points are exploitable as in the "4.7.11 Testing for Code Injection".
Asses the severity of the vulnerability.
Evidence:
Last updated