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: 4a0a00473045022100df2f2f3ba9ea8b96d22b8159836a796fde106360faca0c90f8e82f03081ebddc02206157c013ec0d5be89f7e1a866a0819b975dde7985500ce8bc11802af3594eb1f:922c64590222798bb761d5b6d8e72950 |