CVE-2013-0209 - Improper Authentication

Severity

75%

Complexity

99%

Confidentiality

106%

lib/MT/Upgrade.pm in mt-upgrade.cgi in Movable Type 4.2x and 4.3x through 4.38 does not require authentication for requests to database-migration functions, which allows remote attackers to conduct eval injection and SQL injection attacks via crafted parameters, as demonstrated by an eval injection attack against the core_drop_meta_for_table function, leading to execution of arbitrary Perl code.

lib/MT/Upgrade.pm in mt-upgrade.cgi in Movable Type 4.2x and 4.3x through 4.38 does not require authentication for requests to database-migration functions, which allows remote attackers to conduct eval injection and SQL injection attacks via crafted parameters, as demonstrated by an eval injection attack against the core_drop_meta_for_table function, leading to execution of arbitrary Perl code.

CVSS 2.0 Base Score 7.5. CVSS Attack Vector: network. CVSS Attack Complexity: low. CVSS Vector: (AV:N/AC:L/Au:N/C:P/I:P/A:P).

Demo Examples

Improper Authentication

CWE-287

The following code intends to ensure that the user is already logged in. If not, the code performs authentication with the user-provided username and password. If successful, it sets the loggedin and user cookies to "remember" that the user has already logged in. Finally, the code performs administrator tasks if the logged-in user has the "Administrator" username, as recorded in the user cookie.


               
}
}
ExitError("Error: you need to log in first");
);
);
DoAdministratorTasks();

Unfortunately, this code can be bypassed. The attacker can set the cookies independently so that the code does not check the username and password. The attacker could do this with an HTTP request containing headers such as:


               
[body of request]

By setting the loggedin cookie to "true", the attacker bypasses the entire authentication check. By using the "Administrator" value in the user cookie, the attacker also gains privileges to administer the software.

Improper Authentication

CWE-287

Overview

First reported 12 years ago

2013-01-23 01:55:00

Last updated 12 years ago

2013-01-29 05:00:00

Affected Software

シックス・アパート Movable Type 4.21

4.21

Six Apart Movable Type 4.22

4.22

シックス・アパート Movable Type 4.23

4.23

Six Apart Movable Type 4.24

4.24

シックス・アパート Movable Type 4.25

4.25

Six Apart Movable Type 4.26

4.26

シックス・アパート Movable Type 4.27

4.27

Six Apart Movable Type 4.28

4.28

シックス・アパート Movable Type Enterprise 4.28

4.28

シックス・アパート Movable Type Open Source 4.28

4.28

シックス・アパート Movable Type 4.29

4.29

Six Apart Movable Type Enterprise 4.29

4.29

Six Apart Movable Type Open Source 4.29

4.29

Six Apart Movable Type 4.31

4.31

Six Apart Movable Type 4.32

4.32

Six Apart Movable Type 4.33

4.33

Six Apart Movable Type 4.34

4.34

シックス・アパート Movable Type 4.35

4.35

シックス・アパート Movable Type 4.36

4.36

シックス・アパート Movable Type 4.37

4.37

シックス・アパート Movable Type 4.38

4.38

Six Apart Movable Type 4.261

4.261

Six Apart Movable Type 4.291

4.291

Six Apart Movable Type Enterprise 4.291

4.291

Six Apart Movable Type Open Source 4.291

4.291

Six Apart Movable Type 4.292

4.292

Six Apart Movable Type Enterprise 4.292

4.292

シックス・アパート Movable Type Open Source 4.292

4.292

シックス・アパート Movable Type 4.361

4.361

Six Apart Movable Type Open Source 4.36

4.36

シックス・アパート Movable Type Open Source 4.37

4.37

Six Apart Movable Type Open Source 4.38

4.38

Six Apart Movable Type Open Source 4.361

4.361

Stay updated

ExploitPedia is constantly evolving. Sign up to receive a notification when we release additional functionality.

Get in touch

If you'd like to report a bug or have any suggestions for improvements then please do get in touch with us using this form. We will get back to you as soon as we can.