CVE-2002-1374

MySQL <3.23.54, <4.0.6 - Privilege Escalation

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2002-1374. PoCs published by Andi.

AI-analyzed exploit summary This exploit leverages a flaw in MySQL's password authentication mechanism (COM_CHANGE_USER command) to brute-force the first character of a target user's password, allowing authentication bypass. It demonstrates privilege escalation by dumping user credentials or granting admin privileges.

Description

The COM_CHANGE_USER command in MySQL 3.x before 3.23.54, and 4.x before 4.0.6, allows remote attackers to gain privileges via a brute force attack using a one-character password, which causes MySQL to only compare the provided password against the first character of the real password.

Exploits (1)

exploitdb WORKING POC VERIFIED
by Andi · cremoteunix
https://www.exploit-db.com/exploits/22084

This exploit leverages a flaw in MySQL's password authentication mechanism (COM_CHANGE_USER command) to brute-force the first character of a target user's password, allowing authentication bypass. It demonstrates privilege escalation by dumping user credentials or granting admin privileges.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: MySQL <= 3.23.53a (and possibly 3.23.54 on OpenBSD)
Auth required
Prerequisites: Valid MySQL credentials with some level of access · Target user's password must be at least one character long
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (16)

Core 16
Core References
Mailing List mailing-list x_refsource_bugtraq
http://marc.info/?l=bugtraq&m=103971644013961&w=2
Mailing List mailing-list x_refsource_bugtraq
http://marc.info/?l=bugtraq&m=104005886114500&w=2
Vendor Advisory vendor-advisory x_refsource_conectiva
http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000555
Patch, Vendor Advisory vendor-advisory x_refsource_engarde
http://www.linuxsecurity.com/advisories/engarde_advisory-2660.html
Various Sources x_refsource_misc
http://security.e-matters.de/advisories/042002.html
Third Party Advisory vendor-advisory x_refsource_debian
http://www.debian.org/security/2002/dsa-212
Vendor Advisory vendor-advisory x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2002-288.html
Various Sources vendor-advisory x_refsource_mandrake
http://www.mandrakesoft.com/security/advisories?name=MDKSA-2002:087
Vendor Advisory vendor-advisory x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2003-166.html
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/10847
Mailing List vendor-advisory x_refsource_gentoo
http://marc.info/?l=bugtraq&m=104004857201968&w=2
Vendor Advisory vendor-advisory x_refsource_suse
http://www.novell.com/linux/security/advisories/2003_003_mysql.html
Vendor Advisory vendor-advisory x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2002-289.html
Various Sources vendor-advisory x_refsource_trustix
http://www.trustix.net/errata/misc/2002/TSL-2002-0086-mysql.asc.txt
Exploit, Patch, Vendor Advisory vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/6373
Third Party Advisory, VDB Entry vendor-advisory x_refsource_immunix
http://www.securityfocus.com/advisories/5269

Scores

EPSS 0.2045
EPSS Percentile 97.2%

Details

Status published
Products (50)
oracle/mysql 3.22.26
oracle/mysql 3.22.27
oracle/mysql 3.22.28
oracle/mysql 3.22.29
oracle/mysql 3.22.30
oracle/mysql 3.22.32
oracle/mysql 3.23.2
oracle/mysql 3.23.3
oracle/mysql 3.23.4
oracle/mysql 3.23.5
... and 40 more
Published Dec 23, 2002
Tracked Since Feb 18, 2026