Skip to content

Fix potential vulnerability in cloned function#167

Open
navnitan-7 wants to merge 1 commit intoknownsec:devfrom
navnitan-7:fix/CVE-2018-18074
Open

Fix potential vulnerability in cloned function#167
navnitan-7 wants to merge 1 commit intoknownsec:devfrom
navnitan-7:fix/CVE-2018-18074

Conversation

@navnitan-7
Copy link
Copy Markdown

Summary

This PR fixes a potential security vulnerability in rebuild_auth() in pocsuite/thirdparty/requests/sessions.py cloned from requests.

Details

Changes

This patch strips Authorization not only on host change but also on HTTPS -> HTTP downgrade redirect, preventing credential leakage over plaintext transport.

Impact

Mitigates redirect-based credential leakage.

References

Made with Cursor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant