Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Host Header OVERRIDE Problem #860

Closed
exploit-io opened this issue Apr 19, 2024 · 4 comments
Closed

Host Header OVERRIDE Problem #860

exploit-io opened this issue Apr 19, 2024 · 4 comments
Assignees
Labels
Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.

Comments

@exploit-io
Copy link

exploit-io commented Apr 19, 2024

Hi,

There is a problem on overriding Host Header


./katana -u "http://o7waj64ndoxykgdbkqn9ocltokubi36s.oastify.com" -H "Host: TEST.o7waj64ndoxykgdbkqn9ocltokubi36s.oastify.com" -H "NEW-HEADER: NEW-HEADER"

We don't see any change in host header. (Check Image)

Screen Shot 2024-04-19 at 8 47 57 PM
@exploit-io exploit-io added the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label Apr 19, 2024
@exploit-io
Copy link
Author

exploit-io commented Apr 19, 2024

As an examplple, 44.228.249.3 is the ip address of testphp.vulnweb.com

Curl Command Works Perfect:

curl -H "Host: testphp.vulnweb.com" "http://44.228.249.3/"

but the katana doesn't:

./katana -u "http://44.228.249.3/" -H "Host: testphp.vulnweb.com"

Katana Version: v1.1.0

@dogancanbakir dogancanbakir self-assigned this Apr 22, 2024
@dogancanbakir
Copy link
Member

I could repro the issue in main but not in dev branch
image

Please try it again with the dev branch and let me know if it works. To install:

go install github.com/projectdiscovery/katana/cmd/katana@dev

@exploit-io
Copy link
Author

Thank you sir, The dev version seems alright.

Screen Shot 2024-04-22 at 7 47 09 PM

@ehsandeep
Copy link
Member

duplicate of #638, fixed in dev

@ehsandeep ehsandeep closed this as not planned Won't fix, can't repro, duplicate, stale Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

No branches or pull requests

3 participants