SQL Injection Affecting genix/cms package, versions <1.0.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Proof of concept
    EPSS
    0.17% (55th 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-PHP-GENIXCMS-6674131
  • published 26 Apr 2024
  • disclosed 14 May 2022
  • credit l3m0n

How to fix?

Upgrade genix/cms to version 1.0.0 or higher.

Overview

genix/cms is a Simple and Free Opensource CMS and Framework.

Affected versions of this package are vulnerable to SQL Injection due to improper sanitization of user-supplied input in inc/lib/Control/Backend/posts.control.php. An attacker can execute arbitrary SQL commands by manipulating the id parameter in requests to gxadmin/index.php. This is only exploitable if the attacker has administrative access.

PoC

http://lemon.love/code-src/GeniXCMS/GeniXCMS-master/gxadmin/index.php?page=posts&act=edit&id=6' and updatexml(1,(select user()),1)%23&token=Pp52R3oD4wuLBVutgD9hMsMrp8alQD3bKmuf06AI0HZMzoMiRe3s18BUa4eIOqrMqj38Cp9aoQqWaw10

CVSS Scores

version 3.1
Expand this section

Snyk

7.2 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    High
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High