AGENT SKILL

webapp-injection-sqli-nosql

Webapp Injection Sqli Nosql.

License 许可
MIT
最近更新
2026-09-01
Stars
★ 0
Forks
0

01 前言 Front Matter

name
webapp-injection-sqli-nosql
domain
cybersecurity
description
Webapp Injection Sqli Nosql.

02 资源文件 1

03 SKILL.md 正文

--| | POST /api/login | username | Operator ($ne) | Auth Bypass | | POST /api/login | password | Regex ($regex) | Data Extraction | | GET /api/users | id | $where JS Injection | RCE Potential |

Proof of Concept

  • Authentication bypass achieved with: {"username":{"$ne":""},"password":{"$ne":""}}
  • Extracted 3 admin passwords via blind regex injection
  • JavaScript execution confirmed via $where operator

Remediation

  • Use parameterized queries with MongoDB driver sanitization
  • Implement input type validation (reject objects where strings expected)
  • Disable server-side JavaScript execution ($where) in MongoDB config
  • Apply least-privilege database access controls

04 同仓库更多 Skills