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

bugfix: fix multipart panic + support for filename + content-type #5702

Merged
merged 2 commits into from
Oct 10, 2024

Conversation

Ice3man543
Copy link
Member

Proposed changes

Able to fuzz multipart files requests like below now with correct propagation of files content-type and filename.

-----------------------------13382841176870751782402671908
Content-Disposition: form-data; name="surname"

test
-----------------------------13382841176870751782402671908
Content-Disposition: form-data; name="image"; filename="xss.svg"
Content-Type: image/svg+xml

<!DOCTYPE ccabca [ <!ENTITY ccabca SYSTEM "file:////etc/passwd"> ]><x>&ccabca;</x>

Checklist

  • Pull request is created against the dev branch
  • All checks passed (lint, unit/integration/regression tests etc.) with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

@Ice3man543 Ice3man543 self-assigned this Oct 7, 2024
@Ice3man543 Ice3man543 linked an issue Oct 7, 2024 that may be closed by this pull request
1 task
@ehsandeep ehsandeep merged commit 8268098 into dev Oct 10, 2024
8 of 12 checks passed
@ehsandeep ehsandeep deleted the fix-multipart-files-fuzz branch October 10, 2024 14:52
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.

[BUG] Panic in multipart fuzzing + unsupported content-type & filename
4 participants