ID CVE-2005-0004
Summary The mysqlaccess script in MySQL 4.0.23 and earlier, 4.1.x before 4.1.10, 5.0.x before 5.0.3, and other versions including 3.x, allows local users to overwrite arbitrary files or read temporary files via a symlink attack on temporary files.
References
Vulnerable Configurations
  • cpe:2.3:a:oracle:mysql:5.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.0:-:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.0:-:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.0:alpha:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.0:alpha:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.0:milestone1:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.0:milestone1:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.0:milestone2:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.0:milestone2:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.1:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.1:-:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.1:-:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.1:a:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.1:a:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.2:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.2:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.2:-:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.2:-:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.1:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.2:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.2:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.3:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.3:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.4:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.4:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.5:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.5:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.5a:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.5a:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.6:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.6:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.7:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.7:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.7:gamma:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.7:gamma:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.8:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.8:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.8:gamma:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.8:gamma:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.9:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.9:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.9:gamma:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.9:gamma:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.10:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.10:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.11:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.11:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.11:gamma:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.11:gamma:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.12:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.12:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.13:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.13:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.14:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.14:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.15:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.15:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.16:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.16:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.17:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.17:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.18:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.18:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.19:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.19:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.20:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.20:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.21:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.21:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.22:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.22:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.1.0:-:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.1.0:-:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.1.0:alpha:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.1.0:alpha:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.1.1:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.1.2:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.1.2:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.1.2:-:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.1.2:-:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.1.2:alpha:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.1.2:alpha:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.1.3:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.1.3:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.1.3:-:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.1.3:-:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.1.3:beta:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.1.3:beta:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.1.4:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.1.4:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.1.5:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.1.5:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.1.6:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.1.6:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.1.7:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.1.7:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.1.8:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.1.8:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.1.8:-:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.1.8:-:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.1.8:a:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.1.8:a:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.1.9:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.1.9:*:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:3.0:*:*:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:3.0:*:*:*:*:*:*:*
  • cpe:2.3:a:mariadb:mariadb:5.5.0:*:*:*:*:*:*:*
    cpe:2.3:a:mariadb:mariadb:5.5.0:*:*:*:*:*:*:*
  • cpe:2.3:a:mariadb:mariadb:5.5.20:*:*:*:*:*:*:*
    cpe:2.3:a:mariadb:mariadb:5.5.20:*:*:*:*:*:*:*
  • cpe:2.3:a:mariadb:mariadb:5.5.21:*:*:*:*:*:*:*
    cpe:2.3:a:mariadb:mariadb:5.5.21:*:*:*:*:*:*:*
  • cpe:2.3:a:mariadb:mariadb:5.5.22:*:*:*:*:*:*:*
    cpe:2.3:a:mariadb:mariadb:5.5.22:*:*:*:*:*:*:*
  • cpe:2.3:a:mariadb:mariadb:5.5.23:*:*:*:*:*:*:*
    cpe:2.3:a:mariadb:mariadb:5.5.23:*:*:*:*:*:*:*
  • cpe:2.3:a:mariadb:mariadb:5.5.24:*:*:*:*:*:*:*
    cpe:2.3:a:mariadb:mariadb:5.5.24:*:*:*:*:*:*:*
  • cpe:2.3:a:mariadb:mariadb:5.5.25:*:*:*:*:*:*:*
    cpe:2.3:a:mariadb:mariadb:5.5.25:*:*:*:*:*:*:*
  • cpe:2.3:a:mariadb:mariadb:5.5.27:*:*:*:*:*:*:*
    cpe:2.3:a:mariadb:mariadb:5.5.27:*:*:*:*:*:*:*
  • cpe:2.3:a:mariadb:mariadb:5.5.28:*:*:*:*:*:*:*
    cpe:2.3:a:mariadb:mariadb:5.5.28:*:*:*:*:*:*:*
  • cpe:2.3:a:mariadb:mariadb:5.5.28a:*:*:*:*:*:*:*
    cpe:2.3:a:mariadb:mariadb:5.5.28a:*:*:*:*:*:*:*
  • cpe:2.3:a:mariadb:mariadb:5.5.33:*:*:*:*:*:*:*
    cpe:2.3:a:mariadb:mariadb:5.5.33:*:*:*:*:*:*:*
  • cpe:2.3:a:mariadb:mariadb:5.5.33:a:*:*:*:*:*:*
    cpe:2.3:a:mariadb:mariadb:5.5.33:a:*:*:*:*:*:*
  • cpe:2.3:a:mariadb:mariadb:5.5.34:*:*:*:*:*:*:*
    cpe:2.3:a:mariadb:mariadb:5.5.34:*:*:*:*:*:*:*
  • cpe:2.3:a:mariadb:mariadb:5.5.35:*:*:*:*:*:*:*
    cpe:2.3:a:mariadb:mariadb:5.5.35:*:*:*:*:*:*:*
  • cpe:2.3:a:mariadb:mariadb:5.5.40:*:*:*:*:*:*:*
    cpe:2.3:a:mariadb:mariadb:5.5.40:*:*:*:*:*:*:*
  • cpe:2.3:a:mariadb:mariadb:5.5.43:*:*:*:*:*:*:*
    cpe:2.3:a:mariadb:mariadb:5.5.43:*:*:*:*:*:*:*
  • cpe:2.3:a:mariadb:mariadb:5.5.46:*:*:*:*:*:*:*
    cpe:2.3:a:mariadb:mariadb:5.5.46:*:*:*:*:*:*:*
  • cpe:2.3:a:mariadb:mariadb:5.5.47:*:*:*:*:*:*:*
    cpe:2.3:a:mariadb:mariadb:5.5.47:*:*:*:*:*:*:*
  • cpe:2.3:a:mariadb:mariadb:5.5.48:*:*:*:*:*:*:*
    cpe:2.3:a:mariadb:mariadb:5.5.48:*:*:*:*:*:*:*
  • cpe:2.3:a:mariadb:mariadb:5.5.49:*:*:*:*:*:*:*
    cpe:2.3:a:mariadb:mariadb:5.5.49:*:*:*:*:*:*:*
  • cpe:2.3:a:mariadb:mariadb:5.5.50:*:*:*:*:*:*:*
    cpe:2.3:a:mariadb:mariadb:5.5.50:*:*:*:*:*:*:*
  • cpe:2.3:a:mariadb:mariadb:5.5.51:*:*:*:*:*:*:*
    cpe:2.3:a:mariadb:mariadb:5.5.51:*:*:*:*:*:*:*
  • cpe:2.3:a:mariadb:mariadb:5.5.54:*:*:*:*:*:*:*
    cpe:2.3:a:mariadb:mariadb:5.5.54:*:*:*:*:*:*:*
  • cpe:2.3:a:mariadb:mariadb:5.5.55:*:*:*:*:*:*:*
    cpe:2.3:a:mariadb:mariadb:5.5.55:*:*:*:*:*:*:*
  • cpe:2.3:a:mariadb:mariadb:5.5.56:*:*:*:*:*:*:*
    cpe:2.3:a:mariadb:mariadb:5.5.56:*:*:*:*:*:*:*
  • cpe:2.3:a:mariadb:mariadb:5.5.57:*:*:*:*:*:*:*
    cpe:2.3:a:mariadb:mariadb:5.5.57:*:*:*:*:*:*:*
  • cpe:2.3:a:mariadb:mariadb:5.5.58:*:*:*:*:*:*:*
    cpe:2.3:a:mariadb:mariadb:5.5.58:*:*:*:*:*:*:*
  • cpe:2.3:a:mariadb:mariadb:5.5.59:*:*:*:*:*:*:*
    cpe:2.3:a:mariadb:mariadb:5.5.59:*:*:*:*:*:*:*
  • cpe:2.3:a:mariadb:mariadb:5.5.60:*:*:*:*:*:*:*
    cpe:2.3:a:mariadb:mariadb:5.5.60:*:*:*:*:*:*:*
  • cpe:2.3:a:mariadb:mariadb:5.5.61:*:*:*:*:*:*:*
    cpe:2.3:a:mariadb:mariadb:5.5.61:*:*:*:*:*:*:*
CVSS
Base: 4.6 (as of 05-08-2022 - 14:26)
Impact:
Exploitability:
CWE CWE-59
CAPEC
  • Manipulating Web Input to File System Calls
    An attacker manipulates inputs to the target software which the target software passes to file system calls in the OS. The goal is to gain access to, and perhaps modify, areas of the file system that the target software did not intend to be accessible.
  • Leverage Executable Code in Non-Executable Files
    An attack of this type exploits a system's trust in configuration and resource files. When the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high.
  • Using Malicious Files
    An attack of this type exploits a system's configuration that allows an attacker to either directly access an executable file, for example through shell access; or in a possible worst case allows an attacker to upload a file and then execute it. Web servers, ftp servers, and message oriented middleware systems which have many integration points are particularly vulnerable, because both the programmers and the administrators must be in synch regarding the interfaces and the correct privileges for each interface.
  • Symlink Attack
    An attacker positions a symbolic link in such a manner that the targeted user or application accesses the link's endpoint, assuming that it is accessing a file with the link's name. The endpoint file may be either output or input. If the file is output, the result is that the endpoint is modified, instead of a file at the intended location. Modifications to the endpoint file may include appending, overwriting, corrupting, changing permissions, or other modifications. In some variants of this attack the attacker may be able to control the change to a file while in other cases they cannot. The former is especially damaging since the attacker may be able to grant themselves increased privileges or insert false information, but the latter can also be damaging as it can expose sensitive information or corrupt or destroy vital system or application files. Alternatively, the endpoint file may serve as input to the targeted application. This can be used to feed malformed input into the target or to cause the target to process different information, possibly allowing the attacker to control the actions of the target or to cause the target to expose information to the attacker. Moreover, the actions taken on the endpoint file are undertaken with the permissions of the targeted user or application, which may exceed the permissions that the attacker would normally have.
Access
VectorComplexityAuthentication
LOCAL LOW NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
cvss-vector via4 AV:L/AC:L/Au:N/C:P/I:P/A:P
refmap via4
bid 12277
bugtraq 20050118 [USN-63-1] MySQL client vulnerability
conectiva CLA-2005:947
confirm
debian DSA-647
mandrake MDKSA-2005:036
secunia 13867
sunalert 101864
xf mysql-mysqlaccess-symlink(18922)
Last major update 05-08-2022 - 14:26
Published 14-04-2005 - 04:00
Last modified 05-08-2022 - 14:26
Back to Top