Skip to content

There is a SQL Injection Vulnerability in wgcloud v2.3.7 开源版 #91

@WDLegend

Description

@WDLegend

[vulnerable type] SQL Injection
[version] v2.3.7

[details]
configure a database (i use the wgcloud's default databse 'wgcloud')
then configure table as below
image

just wait for a moment and see log:
image
we can see database name is wgcloud.

image in RDSConnection.java , the system use a blacklist as filter, but it's hard to filter all sql injection words.

[repair suggetions]
Delete this feature or use white list

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