Node.js Framework Exceptions
ID: nodejs-framework-exceptions
Severity: info
Author: Aayush Dhakal
Tags: file,logs,nodejs
Description
Section titled “Description”Detects suspicious Node.js framework exceptions that could indicate exploitation attempts
YAML Source
Section titled “YAML Source”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: 4a0a00473045022100a21d711ba4ed62db92c076c79f01195e99eb05d864d968bb9b72ccb721189911022008425c89b7e7ea3256047365b045d71d49435be01df0ab6858e4ddbeb45fce9c:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "file/logs/nodejs-framework-exceptions.yaml"