SQL Injection Affecting github.com/flipped-aurora/gin-vue-admin/server/service/system package, versions <2.5.1
Threat Intelligence
Exploit Maturity
Proof of concept
EPSS
0.1% (42nd
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-GOLANG-GITHUBCOMFLIPPEDAURORAGINVUEADMINSERVERSERVICESYSTEM-2709392
- published 14 Apr 2022
- disclosed 14 Apr 2022
- credit ort4u
Introduced: 14 Apr 2022
CVE-2022-24844 Open this link in a new tabHow to fix?
Upgrade github.com/flipped-aurora/gin-vue-admin/server/service/system
to version 2.5.1 or higher.
Overview
Affected versions of this package are vulnerable to SQL Injection in server/service/system/sys_auto_code_pgsql.go
, which means that PostgreSQL must be used as the database for this vulnerability to occur and users must require JWT login.
PoC
http://127.0.0.1:8888/autoCode/getColumn?tableName=123' AND 1178=(SELECT 1178 FROM PG_SLEEP(5)) AND 'obSz'='obSz
References
CVSS Scores
version 3.1