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