mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-01-31 15:53:33 +08:00
33 lines
1.0 KiB
YAML
33 lines
1.0 KiB
YAML
id: nodejs-framework-exceptions
|
|
|
|
info:
|
|
name: Node.js Framework Exceptions
|
|
author: Aayush Dhakal
|
|
severity: info
|
|
description: Detects suspicious Node.js framework exceptions that could indicate exploitation attempts
|
|
reference:
|
|
- https://expressjs.com/en/guide/error-handling.html
|
|
- https://nodejs.org/en/docs/guides
|
|
tags: file,logs,nodejs
|
|
|
|
file:
|
|
- extensions:
|
|
- all
|
|
|
|
extractors:
|
|
- type: regex
|
|
name: exception
|
|
part: body
|
|
regex:
|
|
- 'TypeError'
|
|
- 'ReferenceError'
|
|
- 'SyntaxError'
|
|
- 'ValidationError'
|
|
- 'UnauthorizedError'
|
|
- 'ForbiddenError'
|
|
- 'NotFoundError'
|
|
- 'InternalServerError'
|
|
- 'BadRequestError'
|
|
- 'MongoError'
|
|
- 'SequelizeDatabaseError'
|
|
# digest: 490a0046304402207a4be3910d89d1e1a014595f4ef13146b8a4c88f122fb6dfc162c2818573494902207b8b81efa3b57dd026d20757f68e90adfd8e4de9f5313b6a9a79c7b060ee16cd:922c64590222798bb761d5b6d8e72950 |