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: 490a0046304402206ec5dee60a50e25984c21ddfe7ec51606ec75c2736385b076e560e7a5b6f242b02204d409bb8e471d15aee16712b4d1e7c24c04e201de867b8f465a4d7401f0f71e8:922c64590222798bb761d5b6d8e72950 |