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

⛏️ Write a test to check whether we can create/update an object with File Upload #658

Open
5 tasks
arjun-akto opened this issue Oct 13, 2023 · 3 comments
Open
5 tasks
Assignees
Labels
hacktoberfest yaml requires yaml knowledge

Comments

@arjun-akto
Copy link
Contributor

💭 Introduction:

We want a test to check whether an attacker can create/update entity with File upload.

🎯 Requirements:

  1. Filters - API with atleast one parameter as an input in GET query parameter or JSON body parameter accepting Files, having header for Files like “Content-Type” : “multipart/form-data” or “Content-type” : “application/octet-stream” or other types of headers used for File upload

  2. Execute - It should replace the value with

  • Changing the content-type header and sending the same file as identified in the original request
  • Keeping the header and uploading some other file in Body
  • Not sending any file and keeping the header same
  • removing the header and then sending any file, or the same original file
  1. Validation - If the application responds with a exception trace, it is a vulnerability.

✅ Task summary:

  • Ask to be assigned to the issue.
  • Wait to be assigned. We will try to assign in less than 2 hours.
  • Signup for [Akto]
  • Fork the [tests-library] repository, create a new branch and commit the yaml file which will be called in your test.
  • Submit both the PR here.

📚 Reading

Find 100+ examples of YAML tests [here]

🙋🏼‍♂️ Questions:
If you have questions, need any help, or just want to hang out, make sure to join us on our [Discord server].

@arjun-akto arjun-akto added yaml requires yaml knowledge hacktoberfest labels Oct 13, 2023
@falconcode16
Copy link

Hey @arjun-akto, I have gone through the test-library repo and example YAML test and I feel I can contribute to this issue by writing the above mentioned test. Can you please assign this issue to me?

@heysagnik
Copy link

Hey @arjun-akto I want to work on this, could you please assign me ?

@arjun-akto
Copy link
Contributor Author

Hi @falconcode16 , @heysagnik . I have assigned the issue to you. Please feel free to connect us on our Discord server for any doubts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest yaml requires yaml knowledge
Projects
None yet
Development

No branches or pull requests

3 participants