Merge pull request #2814 from daffainfo/patch-234

Create CVE-2021-41649.yaml
patch-1
Prince Chaddha 2021-10-04 19:39:12 +05:30 committed by GitHub
commit 7182361020
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,34 @@
id: CVE-2021-41649
info:
name: PuneethReddyHC online-shopping-system-advanced SQL Injection homeaction.php
author: daffainfo
severity: high
description: An un-authenticated SQL Injection exists in PuneethReddyHC online-shopping-system-advanced through the /homeaction.php cat_id parameter. Using a post request does not sanitize the user input.
reference: https://github.com/MobiusBinary/CVE-2021-41649
tags: cve,cve2021,sqli
requests:
- method: POST
path:
- "{{BaseURL}}/homeaction.php"
body: "cat_id=4'&get_seleted_Category=1"
matchers-condition: and
matchers:
- type: word
words:
- "text/html"
part: header
- type: word
words:
- "Warning: mysqli_num_rows() expects parameter 1 to be"
- "xdebug-error xe-warning"
part: body
condition: and
- type: status
status:
- 200