ID CVE-2013-1762
Summary stunnel 4.21 through 4.54, when CONNECT protocol negotiation and NTLM authentication are enabled, does not correctly perform integer conversion, which allows remote proxy servers to execute arbitrary code via a crafted request that triggers a buffer overflow.
References
Vulnerable Configurations
  • cpe:2.3:a:stunnel:stunnel:4.21:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.21:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.22:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.22:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.23:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.23:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.24:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.24:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.25:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.25:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.26:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.26:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.27:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.27:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.28:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.28:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.29:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.29:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.30:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.30:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.31:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.31:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.32:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.32:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.33:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.33:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.34:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.34:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.35:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.35:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.36:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.36:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.37:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.37:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.38:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.38:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.39:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.39:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.40:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.40:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.41:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.41:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.42:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.42:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.43:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.43:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.44:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.44:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.45:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.45:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.46:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.46:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.47:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.47:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.48:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.48:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.49:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.49:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.50:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.50:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.51:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.51:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.52:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.52:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.53:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.53:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:0.1:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:0.1:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:1.0:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:1.1:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:1.1:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:1.2:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:1.2:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:1.3:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:1.3:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:1.4:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:1.4:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:1.5:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:1.5:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:1.6:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:1.6:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:2.0:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:2.0:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:2.1:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:2.1:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:3.0:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:3.0:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:3.0:beta1:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:3.0:beta1:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:3.0:beta2:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:3.0:beta2:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:3.0:beta3:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:3.0:beta3:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:3.0:beta4:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:3.0:beta4:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:3.0:beta5:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:3.0:beta5:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:3.0:beta6:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:3.0:beta6:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:3.0:beta7:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:3.0:beta7:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:3.1:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:3.1:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:3.2:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:3.2:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:3.3:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:3.3:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:3.4a:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:3.4a:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:3.5:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:3.5:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:3.6:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:3.6:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:3.7:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:3.7:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:3.8:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:3.8:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:3.8:p1:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:3.8:p1:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:3.8:p2:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:3.8:p2:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:3.8:p3:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:3.8:p3:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:3.8:p4:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:3.8:p4:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:3.9:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:3.9:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:3.10:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:3.10:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:3.11:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:3.11:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:3.12:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:3.12:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:3.13:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:3.13:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:3.14:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:3.14:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:3.15:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:3.15:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:3.16:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:3.16:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:3.17:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:3.17:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:3.18:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:3.18:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:3.19:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:3.19:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:3.20:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:3.20:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:3.21:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:3.21:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:3.21a:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:3.21a:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:3.21b:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:3.21b:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:3.21c:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:3.21c:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:3.22:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:3.22:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:3.23:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:3.23:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:3.24:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:3.24:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:3.25:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:3.25:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:3.26:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:3.26:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.0:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.0:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.01:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.01:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.02:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.02:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.03:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.03:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.04:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.04:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.05:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.05:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.06:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.06:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.07:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.07:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.08:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.08:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.09:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.09:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.10:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.10:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.11:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.11:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.12:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.12:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.13:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.13:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.14:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.14:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.15:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.15:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.16:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.16:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.17:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.17:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.18:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.18:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.19:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.19:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.20:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.20:*:*:*:*:*:*:*
  • cpe:2.3:a:stunnel:stunnel:4.54:*:*:*:*:*:*:*
    cpe:2.3:a:stunnel:stunnel:4.54:*:*:*:*:*:*:*
CVSS
Base: 6.6 (as of 17-01-2014 - 05:13)
Impact:
Exploitability:
CWE CWE-94
CAPEC
  • 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. The attack can be directed at a client system, such as causing buffer overrun through loading seemingly benign image files, as in Microsoft Security Bulletin MS04-028 where specially crafted JPEG files could cause a buffer overrun once loaded into the browser. Another example targets clients reading pdf files. In this case the attacker simply appends javascript to the end of a legitimate url for a pdf (http://www.gnucitizen.org/blog/danger-danger-danger/) http://path/to/pdf/file.pdf#whatever_name_you_want=javascript:your_code_here The client assumes that they are reading a pdf, but the attacker has modified the resource and loaded executable javascript into the client's browser process. The attack can also target server processes. The attacker edits the resource or configuration file, for example a web.xml file used to configure security permissions for a J2EE app server, adding role name "public" grants all users with the public role the ability to use the administration functionality. The server trusts its configuration file to be correct, but when they are manipulated, the attacker gains full control.
  • Manipulating User-Controlled Variables
    This attack targets user controlled variables (DEBUG=1, PHP Globals, and So Forth). An attacker can override environment variables leveraging user-supplied, untrusted query variables directly used on the application server without any data sanitization. In extreme cases, the attacker can change variables controlling the business logic of the application. For instance, in languages like PHP, a number of poorly set default configurations may allow the user to override variables.
Access
VectorComplexityAuthentication
NETWORK HIGH NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL COMPLETE
cvss-vector via4 AV:N/AC:H/Au:N/C:P/I:P/A:C
redhat via4
advisories
bugzilla
id 917839
title CVE-2013-1762 Stunnel: buffer overflow vulnerability due to incorrect integer conversion in the NTLM authentication of the CONNECT protocol negotiation
oval
AND
  • comment stunnel is earlier than 0:4.29-3.el6_4
    oval oval:com.redhat.rhsa:tst:20130714005
  • comment stunnel is signed with Red Hat redhatrelease2 key
    oval oval:com.redhat.rhsa:tst:20130714006
  • OR
    • comment Red Hat Enterprise Linux 6 Client is installed
      oval oval:com.redhat.rhba:tst:20111656001
    • comment Red Hat Enterprise Linux 6 Server is installed
      oval oval:com.redhat.rhba:tst:20111656002
    • comment Red Hat Enterprise Linux 6 Workstation is installed
      oval oval:com.redhat.rhba:tst:20111656003
    • comment Red Hat Enterprise Linux 6 ComputeNode is installed
      oval oval:com.redhat.rhba:tst:20111656004
rhsa
id RHSA-2013:0714
released 2013-04-08
severity Moderate
title RHSA-2013:0714: stunnel security update (Moderate)
rpms stunnel-0:4.29-3.el6_4
refmap via4
confirm
debian DSA-2664
mandriva MDVSA-2013:130
Last major update 17-01-2014 - 05:13
Published 08-03-2013 - 18:55
Back to Top