Skip to content

Some bugs were found in the project #505

@zcxlighthouse

Description

@zcxlighthouse

Some CWE vulnerabilities were found, as follows:
CWE-295 (Disabling Certificate Validation): rejectUnauthorized: false is configured in multiple core files, which skips the legality verification of HTTPS server certificates. It is vulnerable to man-in-the-middle attacks, leading to the interception and tampering of sensitive information during data transmission, and threatening the project's network communication security.
CWE-22 (Uncontrolled Data Used in Path Expression): Multiple file processing modules directly splice file paths with user-controlled data without effective security filtering. Malicious paths can be constructed to access any sensitive files on the server, resulting in information leakage or even server control.
CWE-352 (Missing CSRF Middleware): The server lacks global CSRF protection middleware, and all API interfaces relying on Cookie authentication have no CSRF verification. Malicious websites can impersonate legitimate users to perform sensitive operations, leading to data tampering and permission abuse.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions