CVE-2011-1324 - Cross-Site Request Forgery (CSRF)

Severity

57%

Complexity

86%

Confidentiality

81%

Multiple cross-site request forgery (CSRF) vulnerabilities in the management screen on Buffalo WHR, WZR2, WZR, WER, and BBR series routers with firmware 1.x; BHR-4RV and FS-G54 routers with firmware 2.x; and AS-100 routers allow remote attackers to hijack the authentication of administrators for requests that modify settings, as demonstrated by changing the login password.

Multiple cross-site request forgery (CSRF) vulnerabilities in the management screen on Buffalo WHR, WZR2, WZR, WER, and BBR series routers with firmware 1.x; BHR-4RV and FS-G54 routers with firmware 2.x; and AS-100 routers allow remote attackers to hijack the authentication of administrators for requests that modify settings, as demonstrated by changing the login password.

CVSS 2.0 Base Score 5.8. CVSS Attack Vector: network. CVSS Attack Complexity: medium. CVSS Vector: (AV:N/AC:M/Au:N/C:N/I:P/A:P).

Demo Examples

Cross-Site Request Forgery (CSRF)

CWE-352

This example PHP code attempts to secure the form submission process by validating that the user submitting the form has a valid session. A CSRF attack would not be prevented by this countermeasure because the attacker forges a request through the user's web browser in which a valid session already exists.

The following HTML is intended to allow a user to update a profile.


               
</form>

profile.php contains the following code.


               
}//if the session is registered to a valid user then allow update
exit;// Redirect user to login page
// The user session is valid, so process the request// and update the information
echo "Your profile has been successfully updated.";// read in the data from $POST and send an update// to the database

This code may look protected since it checks for a valid session. However, CSRF attacks can be staged from virtually any tag or HTML construct, including image tags, links, embed or object tags, or other attributes that load background images.

The attacker can then host code that will silently change the username and email address of any user that visits the page while remaining logged in to the target web application. The code might be an innocent-looking web page such as:


               
</form>
form.submit();// send to profile.php

Notice how the form contains hidden fields, so when it is loaded into the browser, the user will not notice it. Because SendAttack() is defined in the body's onload attribute, it will be automatically called when the victim loads the web page.

Assuming that the user is already logged in to victim.example.com, profile.php will see that a valid user session has been established, then update the email address to the attacker's own address. At this stage, the user's identity has been compromised, and messages sent through this profile could be sent to the attacker's address.

Overview

First reported 13 years ago

2011-05-09 19:55:00

Last updated 13 years ago

2011-05-27 04:00:00

Affected Software

バッファロー BBR-4HG ファームウェア 1.02

1.02

バッファロー BBR-4HG ファームウェア 1.04

1.04

BUFFALO BBR-4HG Firmware 1.04 beta

1.04

バッファロー BBR-4HG ファームウェア 1.10

1.10

BUFFALO BBR-4HG Firmware 1.10 beta

1.10

バッファロー BBR-4HG ファームウェア 1.11 beta

1.11

BUFFALO BBR-4HG Firmware 1.12

1.12

バッファロー BBR-4HG ファームウェア 1.20

1.20

バッファロー BBR-4HG ファームウェア 1.20 beta

1.20

BUFFALO BBR-4HG Firmware 1.30

1.30

バッファロー BBR-4HG ファームウェア 1.30 beta

1.30

バッファロー BBR-4HG ファームウェア 1.31

1.31

BUFFALO BBR-4HG Firmware 1.32

1.32

BUFFALO BBR-4HG Firmware 1.32 beta

1.32

バッファロー BBR-4HG ファームウェア 1.33 beta

1.33

バッファロー BBR-4MG ファームウェア 1.00

1.00

BUFFALO BBR-4MG Firmware 1.01 beta

1.01

BUFFALO BBR-4MG Firmware 1.03

1.03

バッファロー BBR-4MG ファームウェア 1.04

1.04

バッファロー BBR-4MG ファームウェア 1.04 beta

1.04

BUFFALO BBR-4MG Firmware 1.10

1.10

BUFFALO BBR-4MG Firmware 1.10 beta

1.10

BUFFALO BBR-4MG Firmware 1.11 beta

1.11

バッファロー BBR-4MG ファームウェア 1.12

1.12

BUFFALO BBR-4MG Firmware 1.20

1.20

バッファロー BBR-4MG ファームウェア 1.20 beta

1.20

BUFFALO BBR-4MG Firmware 1.30

1.30

バッファロー BBR-4MG ファームウェア 1.30 beta

1.30

BUFFALO BBR-4MG Firmware 1.31

1.31

バッファロー BBR-4MG ファームウェア 1.32

1.32

バッファロー BBR-4MG ファームウェア 1.32 beta

1.32

BUFFALO BBR-4MG Firmware 1.33

1.33

BUFFALO BBR-4MG Firmware 1.33 beta

1.33

BUFFALO BHR-4RV Firmware 2.31

2.31

バッファロー BHR-4RV ファームウェア 2.32 prebeta

2.32

BUFFALO BHR-4RV Firmware 2.33 prebeta

2.33

BUFFALO BHR-4RV Firmware 2.42

2.42

BUFFALO BHR-4RV Firmware 2.46

2.46

BUFFALO BHR-4RV Firmware 2.48

2.48

バッファロー FS-G54 ファームウェア 2.07

2.07

バッファロー WER-A54G54 ファームウェア 1.00

1.00

BUFFALO WER-A54G54 Firmware 1.01 beta

1.01

BUFFALO WER-A54G54 Firmware 1.02

1.02

BUFFALO WER-A54G54 Firmware 1.03

1.03

バッファロー WER-A54G54 ファームウェア 1.10

1.10

BUFFALO WER-A54G54 Firmware 1.12

1.12

BUFFALO WER-A54G54 Firmware 1.12 beta

1.12

BUFFALO WER-A54G54 Firmware 1.13

1.13

BUFFALO WER-AG54 Firmware 1.04

1.04

バッファロー WER-AG54 ファームウェア 1.12

1.12

バッファロー WER-AG54 ファームウェア 1.12 beta

1.12

BUFFALO WER-AM54G54 Firmware 1.11

1.11

BUFFALO WER-AM54G54 Firmware 1.12

1.12

バッファロー WER-AM54G54 ファームウェア 1.12 beta

1.12

バッファロー WER-AM54G54 ファームウェア 1.13

1.13

バッファロー WER-AM54G54 ファームウェア 1.14

1.14

BUFFALO WER-AMG54 Firmware 1.11

1.11

バッファロー WER-AMG54 ファームウェア 1.12

1.12

BUFFALO WER-AMG54 Firmware 1.14

1.14

BUFFALO WHR-AM54G54 Firmware 1.30

1.30

BUFFALO WHR-AM54G54 Firmware 1.38

1.38

BUFFALO WHR-AM54G54 Firmware 1.40

1.40

バッファロー WHR-AM54G54 ファームウェア 1.42

1.42

バッファロー WHR-AMG54 ファームウェア 1.31

1.31

バッファロー WHR-AMG54 ファームウェア 1.38

1.38

BUFFALO WHR-AMG54 Firmware 1.40

1.40

BUFFALO WHR-AMG54 Firmware 1.42

1.42

BUFFALO WHR-AMPG Firmware 1.46

1.46

バッファロー WHR-G54S ファームウェア 1.20

1.20

BUFFALO WHR-G54S Firmware 1.21

1.21

バッファロー WHR-G54S ファームウェア 1.23

1.23

BUFFALO WHR-G54S Firmware 1.38

1.38

BUFFALO WHR-G54S Firmware 1.40

1.40

バッファロー WHR-G54S ファームウェア 1.42

1.42

バッファロー WHR-G ファームウェア 1.46

1.46

バッファロー WHR-HP-AMPG ファームウェア 1.32

1.32

バッファロー WHR-HP-G54 ファームウェア 1.20

1.20

BUFFALO WHR-HP-G54 Firmware 1.21

1.21

バッファロー WHR-HP-G54 ファームウェア 1.23

1.23

BUFFALO WHR-HP-G54 Firmware 1.38

1.38

バッファロー WHR-HP-G54 ファームウェア 1.40

1.40

バッファロー WHR-HP-G54 ファームウェア 1.42

1.42

BUFFALO WHR-HP-G Firmware 1.46

1.46

BUFFALO WZR-AMPG144NH Firmware 1.47

1.47

バッファロー WZR-AMPG144NH ファームウェア 1.48 beta

1.48

バッファロー WZR-AMPG300NH ファームウェア 1.48

1.48

BUFFALO WZR-G144N Firmware 1.45

1.45

バッファロー WZR-G144N ファームウェア 1.46 beta

1.46

バッファロー WZR-G144N ファームウェア 1.47

1.47

バッファロー WZR-G144N ファームウェア 1.47 beta

1.47

BUFFALO WZR-G144NH Firmware 1.45

1.45

BUFFALO WZR-G144NH Firmware 1.47

1.47

BUFFALO WZR-G144NH Firmware 1.47 beta

1.47

BUFFALO WZR-G144NH Firmware 1.48

1.48

バッファロー WZR2-G300N ファームウェア 1.48

1.48

バッファロー WZR2-G300N ファームウェア 1.50 beta

1.50

バッファロー AS-100

BUFFALO BBR-4HG

バッファロー BBR-4MG

BUFFALO BHR-4RV

BUFFALO FS-G54

BUFFALO WER-A54G54

バッファロー WER-AG54

バッファロー WER-AM54G54

BUFFALO WER-AMG54

BUFFALO WHR-AM54G54

BUFFALO WHR-AMG54

BUFFALO WHR-AMPG

バッファロー WHR-G

バッファロー WHR-G54S

BUFFALO WHR-HP-AMPG

バッファロー WHR-HP-G

BUFFALO WHR-HP-G54

BUFFALO WZR-AMPG144NH

バッファロー WZR-AMPG300NH

BUFFALO WZR-G144N

BUFFALO WZR-G144NH

バッファロー WZR2-G300N

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.