-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Add Testing for Deserialisation of Untrusted Data #7
Comments
Hi , I have delivered a workshop on this topic and would like to contribute in the testing guide by adding details on how to go about finding these issues in various languages like java,php,python,node..js and .NET Please guide me as to how can i add the details |
Hi Team, I am picking up the topic and working on it Thank You |
Hey @vermava, How far did you get with writing test scenario's for this one? https://owasp-skf.gitbook.io/asvs-write-ups/kbid-xxx-deserialisation-yaml |
@RiieCco I tried tagging Verma on another issue. No replies. You can move forward with this 😄 |
@RiieCco are you going to be able to tackle this? |
For serialization issue, there are blackbox and whitebox approaches. |
Looking at the CS, that CS should belong in this project. It's purely offensive. |
It ends with some offensive references but the majority of the article is about Deserializing Safely (from my skim of the content). As for white vs blackbox. Although code review is mentioned in the TG it isn't really "testing", so blackbox is probably more applicable (ex: ways you'd identify and exploit during a penetration test or leveraging DAST). |
The black/white box review stuff doesn't really belong, but there's a load of defensive stuff for Java and .NET. It could certainly do with a cleanup, but I think it still has a place the in the cheat sheets project. |
Lovely. This is something we can look at. (Rick it's not porting the whole CS) Getting data from that CS for the WSTG, and refreshing the focus and look of the Deserialization CS. |
Sounds good 👍 |
|
This needs to be added. I am getting vibes of adding this to Business Logic Testing, as it's on an object level and how processing is going to handle the object. If not, we downgrade to Input Val Testing |
To me it's an Input Validation issue. Business Logic is more specific for things like improper handling of pricing, rebates, HR processes, orders, manufacturing, etc. |
I agree with @kingthorin this is more regarding about Input Validation since it's the abuse of unexpected inputs to perform an action not desired or authorized. Commonly the impact would be a Business Logic exploitation but that's not a must condition. For example you can have an XML bomb that would be part of the deserialization of untrusted Data and results in a DoS instead of the manipulation of the Business Logic. |
Mhm, agreed. I had a discussion back then with @kingthorin and we agreed on it being in Input Validation. |
Please comment if you are still working on this issue, as it has been inactive for 30 days. To give everyone a chance to contribute, we are releasing it to new contributors. |
@kingthorin, i am on it again! |
Almost finished, need to put in some scan output results in the file. Had a couple of busy weeks but i expect to finish it soon for a first PR ^^ |
@kingthorin, I will create the PR next week! :-) |
Please comment if you are still working on this issue, as it has been inactive for 30 days. To give everyone a chance to contribute, we are releasing it to new contributors. |
Please comment if you are still working on this issue, as it has been inactive for 90 days. To give everyone a chance to contribute, we are releasing it to new contributors. |
I am still working on this one, sadly i got a massive burn out after wanting to commit this. Otherwise i will commit in due time when i am getting back on track again :-) |
No problem, thanks for the update. Whenever you get to it is great. Don’t let stale bot get to ya. |
@kingthorin hahaha will do, thanks! ^^ |
Hi everyone, |
@RiieCco Hello mate! :) |
Hey @ThunderSon sure thing! It has literally been 6months since i last touched a laptop so i will need to check things a bit. Cheers! |
I am not sure @alex97saba is on slack, but there is a channel |
Thank you very much @RiieCco, I just wrote you on slack (hoping is the right person :) ). |
Please comment if you are still working on this issue, as it has been inactive for 90 days. To give everyone a chance to contribute, we are releasing it to new contributors. |
https://cwe.mitre.org/data/definitions/502.html
The text was updated successfully, but these errors were encountered: