2024-10-27 17:06:17 +00:00
|
|
|
id: nodejs-framework-exceptions
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Node.js Framework Exceptions
|
|
|
|
author: Aayush Dhakal
|
2024-11-03 19:07:57 +00:00
|
|
|
severity: info
|
2024-10-27 17:06:17 +00:00
|
|
|
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
|
2024-11-03 19:07:57 +00:00
|
|
|
tags: file,logs,nodejs
|
2024-10-27 17:06:17 +00:00
|
|
|
|
|
|
|
file:
|
|
|
|
- extensions:
|
|
|
|
- all
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
name: exception
|
|
|
|
part: body
|
|
|
|
regex:
|
|
|
|
- 'TypeError'
|
|
|
|
- 'ReferenceError'
|
|
|
|
- 'SyntaxError'
|
|
|
|
- 'ValidationError'
|
|
|
|
- 'UnauthorizedError'
|
|
|
|
- 'ForbiddenError'
|
|
|
|
- 'NotFoundError'
|
|
|
|
- 'InternalServerError'
|
|
|
|
- 'BadRequestError'
|
2024-11-03 19:13:20 +00:00
|
|
|
- 'MongoError'
|
2024-11-03 19:49:41 +00:00
|
|
|
- 'SequelizeDatabaseError'
|
|
|
|
# digest: 4a0a00473045022100dfb7b88c5cb9ad7083402500e5e1682a8d2febf50a3618300a8a3d9a08a4c85f02204eb93f08c3ab66243cf40936fb8a83c1ab0c79412ce1e3a9c7fdd4965aab1718:922c64590222798bb761d5b6d8e72950
|