Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
pfsense-https-host-redirect — pfSense CE 2.9.0-DEVELOPMENT - Medium - Remote - Open redirect - HTTP 301 $http_host | Kitploit
Tools/GitHubGitHub/abraxas/pfsense-https-host-redirect
Vulnerability AnalysisExploitationWeb SecurityPenetration TestingLabs & Practice
GitHubabraxas/pfsense-https-host-redirect

pfsense-https-host-redirect

pfSense CE 2.9.0-DEVELOPMENT - Medium - Remote - Open redirect - HTTP 301 $http_host

View Repository
4 days agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

Abraxas Labs - pfsense-https-host-redirect

abraxaslabs.tech  ·  github.com/abraxas  ·  @abraxas_null  ·  [email protected]  ·  pfsense-https-host-redirect

pfsense-https-host-redirect

Class: Open redirect Reach: Remote

pfSense CE 2.9.0-DEVELOPMENT (9363ac5) - pfsense.org

system.inc emits a port-80 server{} with return 301 https://$http_host$redirectport$request_uri; and no server_name. nginx returns 301 before php-fpm, so auth.inc DNS-rebind never runs.

IDno CVE yet
ClassOpen redirect
ReachRemote (authenticated WebGUI unless noted)
CWECWE-601
CVSSMedium: 4.7 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N
ProductpfSense CE
Affected2.9.0-DEVELOPMENT (9363ac5b8651a1c7a333180425ce7719070f95f9)
AuthWebGUI session with unauth client that can hit the WebGUI HTTP listener
LicenseGNU Affero GPL v3.0
Lab127.0.0.1 only

I pinned public master 9363ac5. The lab is a PHP gadget of the pinned sink, loopback HTTP on 127.0.0.1:19210.

Series write-up: https://abraxaslabs.tech/research/pfsense-ce-leftovers

What an attacker can do

MethodSinkPrivilege
unauth GET / on TCP/80 with a hostile Hostnginx return 301 https://$http_host...Integrity: None.
same leftoversame sinkRecon: Lab-proven: Host evil.example became Location https://evil.example/index.php. PHP DNS-rebind 501 does not run on this 301.
same leftoversame sinkAvailability: None shown.

Requires: unauth client that can hit the WebGUI HTTP listener. CSRF-magic on POST unless noted. WebGUI PHP-FPM is root.

Requires: unauth client that can hit the WebGUI HTTP listener. CSRF-magic on POST unless noted. WebGUI PHP-FPM is root. CSRF-magic on POST unless noted. WebGUI PHP-FPM is root.

Adjacent surface that stays closed

PHP DNS-rebind on the HTTPS GUI itself.

No Diagnostics: Command unless that page is also granted.

Lab

cd lab
./run.sh

Loopback 127.0.0.1:19210. Compose project pfsense-https-host-redirect. Witness PFSENSE-HTTPS-HOST-REDIRECT-WITNESS. Loopback only: 127.0.0.1:19210. Compose project pfsense-https-host-redirect. Witness PFSENSE-HTTPS-HOST-REDIRECT-WITNESS. PHP gadget of the pinned lines. Stack tears down after the run.

Last line:

SUCCESS PFSENSE-HTTPS-HOST-REDIRECT control-localhost=yes trigger-evil=yes php-rebind-skips-301=yes PFSENSE-HTTPS-HOST-REDIRECT-WITNESS

Fix

Use a configured hostname, or $host (allowlisted), not $http_host.

References

  • github.com/pfsense/pfsense 9363ac5b8651a1c7a333180425ce7719070f95f9
  • CWE-601
  • Series: https://abraxaslabs.tech/research/pfsense-ce-leftovers
Download Tool