Skip to content

[security vulnerability] arbitrary IndexConfig create #19

@cvecommit-byte

Description

@cvecommit-byte

Recently, our team found an arbitrary IndexConfig create vulnerability in the latest version of the project.

The vulnerability logic is present in the file:

mallIndexConfigRouter.POST("indexConfigs", mallIndexConfigApi.CreateIndexConfig) // 新建MallIndexConfig
.

Image

The operation is not protected by permission checks, which means an attacker can achieve arbitrary IndexConfig create.

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions