Vulnerabilities > CVE-2008-3257 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in multiple products
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
Stack-based buffer overflow in the Apache Connector (mod_wl) in Oracle WebLogic Server (formerly BEA WebLogic Server) 10.3 and earlier allows remote attackers to execute arbitrary code via a long HTTP version string, as demonstrated by a string after "POST /.jsp" in an HTTP request.
Vulnerable Configurations
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Buffer Overflow via Environment Variables This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
- Overflow Buffers Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
- Client-side Injection-induced Buffer Overflow This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
- Filter Failure through Buffer Overflow In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
- MIME Conversion An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
Exploit-Db
description Bea Weblogic Apache Connector Code Exec / Denial of Service Exploit. CVE-2008-3257. Remote exploit for windows platform file exploits/windows/remote/6089.pl id EDB-ID:6089 last seen 2016-02-01 modified 2008-07-17 platform windows port 80 published 2008-07-17 reporter kingcope source https://www.exploit-db.com/download/6089/ title Bea Weblogic Apache Connector - Code Execution / Denial of Service Exploit type remote description Oracle Weblogic Apache Connector POST Request Buffer Overflow. CVE-2008-3257. Remote exploit for windows platform id EDB-ID:18897 last seen 2016-02-02 modified 2012-05-19 published 2012-05-19 reporter metasploit source https://www.exploit-db.com/download/18897/ title Oracle Weblogic Apache Connector POST Request Buffer Overflow
Metasploit
description | This module exploits a stack based buffer overflow in the BEA Weblogic Apache plugin. The connector fails to properly handle specially crafted HTTP POST requests, resulting a buffer overflow due to the insecure usage of sprintf. Currently, this module works over Windows systems without DEP, and has been tested with Windows 2000 / XP. In addition, the Weblogic Apache plugin version is fingerprinted with a POST request containing a specially crafted Transfer-Encoding header. |
id | MSF:EXPLOIT/WINDOWS/HTTP/BEA_WEBLOGIC_POST_BOF |
last seen | 2019-12-20 |
modified | 2017-07-24 |
published | 2012-05-17 |
references | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-3257 |
reporter | Rapid7 |
source | https://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/windows/http/bea_weblogic_post_bof.rb |
title | Oracle Weblogic Apache Connector POST Request Buffer Overflow |
Nessus
NASL family | Web Servers |
NASL id | WEBLOGIC_MOD_WL_OVERFLOW.NASL |
description | The Apache web server running on the remote host includes a version of the WebLogic plug-in for Apache (mod_wl) that is affected by a buffer overflow. This is an Apache module included with Oracle (formerly BEA) WebLogic Server and used to proxy requests from an Apache HTTP server to WebLogic. A remote attacker can leverage this issue to execute arbitrary code on the remote host. Note that Nessus has not tried to exploit this issue but rather has only checked the affected module |
last seen | 2020-06-01 |
modified | 2020-06-02 |
plugin id | 33932 |
published | 2008-08-18 |
reporter | This script is Copyright (C) 2008-2018 Tenable Network Security, Inc. |
source | https://www.tenable.com/plugins/nessus/33932 |
title | Oracle WebLogic Server mod_wl POST Request Remote Overflow |
code |
|
Packetstorm
data source | https://packetstormsecurity.com/files/download/112864/bea_weblogic_post_bof.rb.txt |
id | PACKETSTORM:112864 |
last seen | 2016-12-05 |
published | 2012-05-18 |
reporter | metasploit.com |
source | https://packetstormsecurity.com/files/112864/Oracle-Weblogic-Apache-Connector-POST-Request-Buffer-Overflow.html |
title | Oracle Weblogic Apache Connector POST Request Buffer Overflow |
Saint
bid | 30273 |
description | Oracle WebLogic Server Apache Connector POST buffer overflow |
id | web_dev_weblogicapache |
osvdb | 47096 |
title | weblogic_apache_connector_post |
type | remote |
Statements
contributor | Oracle |
lastmodified | 2008-07-31 |
organization | Oracle |
statement | Oracle has released a workaround for CVE-2008-3257. Information is available at: http://www.oracle.com/technology/deploy/security/alerts/alert_cve2008-3257.html |
References
- http://www.attrition.org/pipermail/vim/2008-July/002035.html
- http://www.attrition.org/pipermail/vim/2008-July/002036.html
- http://www.securitytracker.com/id?1020520
- http://secunia.com/advisories/31146
- http://www.kb.cert.org/vuls/id/716387
- http://blogs.oracle.com/security/2008/07/security_alert_for_cve-2008-3257_released.html
- http://www.oracle.com/technology/deploy/security/alerts/alert_cve2008-3257.html
- https://support.bea.com/application_content/product_portlets/securityadvisories/2793.html
- http://www.securityfocus.com/bid/30273
- http://www.vupen.com/english/advisories/2008/2145/references
- https://exchange.xforce.ibmcloud.com/vulnerabilities/43885
- https://www.exploit-db.com/exploits/6089