Skip to content

[security vulnerability] arbitrary indexconfig access #22

@cvecommit-byte

Description

@cvecommit-byte

Recently, our team found an arbitrary indexconfig access vulnerability in the latest version of the project.

The vulnerability logic is present in the file:

mallIndexConfigRouter.GET("indexConfigs/:id", mallIndexConfigApi.FindIndexConfig) // 根据ID获取MallIndexConfig

The operation is not protected by permission checks, which means an attacker can arbitrary indexconfig access.

To address this vulnerability, we strongly advise that developers implement access control policies that limit API access to admin users or the owner.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions