GHSA-45hc-r4fj-qj89
Dashboard / Vulnerabilities / GHSA-45hc-r4fj-qj89
Summary: SQL injection in pagekit/pagekit
Details: Pagekit is a modular and lightweight CMS built with Symfony components and Vue.js. The configAction in SettingsController allow user to set the order of comments listing. The allowed options are ASC and DESC. That config then get concatenated directly to the SQL query. Due to the fact that there wasnt any sanitizion before saving that config, it can lead to the SQL Injection vulnerability.
References: https://nvd.nist.gov/vuln/detail/CVE-2021-44135, https://github.com/pagekit/pagekit, https://huntr.dev/bounties/82f09b08-ceeb-4249-8855-b8bc718c4868
Affected packages
Package
Name: pagekit/pagekit
Purl: pkg:composer/pagekit/pagekit
Affected ranges
Type: ECOSYSTEM
Events:
Introduced- 0
Fixed -None
Affected versions
0.10.0
0.10.1
0.10.2
0.10.3
0.10.4
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
