Cyber Posture

CVE-2024-13496

High

Published: 22 January 2025

Published
22 January 2025
Modified
24 March 2025
KEV Added
Patch
CVSS Score 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS Score 0.2011 95.5th percentile
Risk Priority 27 60% EPSS · 20% KEV · 20% CVSS

Description

The GamiPress – Gamification plugin to reward points, achievements, badges & ranks in WordPress plugin for WordPress is vulnerable to time-based SQL Injection via the ‘orderby’ parameter in all versions up to, and including, 7.3.1 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. NOTE: This vulnerability was previously published as being fixed in version 7.2.2 which was incorrect. The correct fixed version is 7.3.2.

Security Summary

CVE-2024-13496 is a time-based SQL injection vulnerability in the GamiPress Gamification plugin for WordPress, affecting all versions up to and including 7.3.1. The flaw arises from insufficient escaping of the user-supplied 'orderby' parameter combined with a lack of sufficient preparation in the existing SQL query, enabling attackers to append malicious SQL payloads.

Unauthenticated attackers can exploit this vulnerability remotely over the network with low attack complexity and no user interaction required. Exploitation allows appending additional SQL queries to ongoing ones, enabling extraction of sensitive information from the database, as reflected in the CVSS v3.1 base score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N) and associated CWE-89.

The vulnerability is patched in GamiPress version 7.3.2; a prior report incorrectly stated it was fixed in 7.2.2. Mitigation involves updating to the fixed version, with relevant code changes documented in WordPress plugin trac changeset 3226227 and further analysis available at https://abrahack.com/posts/gamipress-sqli/.

Details

CWE(s)
CWE-89

Affected Products

gamipress
gamipress
≤ 7.2.2

References