OpenVPN Host Header Injection
ID: openvpn-hhi
Severity: info
Author: twitter.com/Dheerajmadhukar
Tags: openvpn,hostheader-injection
Description
Section titled “Description”A vulnerability in OpenVPN Access Server allows remote attackers to inject arbitrary redirection URLs by using the ‘Host’ HTTP header field.
YAML Source
Section titled “YAML Source”id: openvpn-hhi
info: name: OpenVPN Host Header Injection author: twitter.com/Dheerajmadhukar severity: info description: A vulnerability in OpenVPN Access Server allows remote attackers to inject arbitrary redirection URLs by using the 'Host' HTTP header field. metadata: max-request: 1 tags: openvpn,hostheader-injection
http: - raw: - | GET / HTTP/1.1 Host: {{randstr}}.tld
matchers-condition: and matchers: - type: word words: - "https://{{randstr}}.tld/__session_start__/" - "openvpn_sess" part: header condition: and
- type: status status: - 302# digest: 490a0046304402202aa4bdf6acd9b0dda315a4734cfcafbe504a8078187a553fba71bc5d570e59c402203c8427d37adbfef957a10d49eb025772b021a7ab0195d1419526116004814604:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/vulnerabilities/other/openvpn-hhi.yaml"