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
Java : add fastjson detection. Improve RemoteFlowSource class, support SpringMvc #119
Comments
|
Some problems occurred on my side, new prs were added, the problem is the same. |
|
Your submission is now in status SecLab review. For information, the evaluation workflow is the following: |
|
Your submission is now in status CodeQL review. For information, the evaluation workflow is the following: |
|
Your submission is now in status SecLab finalize. For information, the evaluation workflow is the following: |
|
Hello @haby0 |
|
Your submission is now in status Pay. For information, the evaluation workflow is the following: |
|
Your submission is now in status Closed. For information, the evaluation workflow is the following: |
haby0 commentedJun 10, 2020
CVE
There is no CVE for this.
Report
This query adds Fastjson deserialization sinks.
It has been added to CWE-502. I found that RemoteFlowSource cannot be supported in the test: (1) SpringMVC directly submits parameters; (2) SpringMVC does routing access through Mapping annotations, and the original verification does not have this logic. I Some additions have been made here.
please check:
codeql\java\ql\src\semmle\code\java\frameworks\SpringMVC.qll
codeql\java\ql\src\semmle\code\java\dataflow\FlowSources.qll SpringMVC class
codeql\java\ql\src\semmle\code\java\security\UnsafeDeserialization.qll
codeql\java\ql\src\Security\CWE\CWE-502
Link to the PR:github/codeql#3665
The text was updated successfully, but these errors were encountered: