ESB-2017.3058 - [FreeBSD] cURL: Multiple vulnerabilities 2017-11-30

Printable version
PGP/GPG verifiable version

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2017.3058
                     cURL -- Multiple vulnerabilities
                             30 November 2017

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           cURL
Publisher:         FreeBSD
Operating System:  FreeBSD
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated
                   Denial of Service               -- Remote/Unauthenticated
                   Access Confidential Data        -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2017-8818 CVE-2017-8817 CVE-2017-8816

Reference:         ESB-2017.3040
                   ESB-2017.3037

Original Bulletin: 
   http://www.vuxml.org/freebsd/301a01b7-d50e-11e7-ac58-b499baebfeaf.html

- --------------------------BEGIN INCLUDED TEXT--------------------

cURL -- Multiple vulnerabilities

Affected packages

7.21.0 < curl < 7.57.0

Details

VuXML ID 301a01b7-d50e-11e7-ac58-b499baebfeaf

Discovery 2017-11-29

Entry 2017-11-29

The cURL project reports:

NTLM buffer overflow via integer overflow (CVE-2017-8816)

libcurl contains a buffer overrun flaw in the NTLM authentication code. The 
internal function Curl_ntlm_core_mk_ntlmv2_hash sums up the lengths of the 
user name + password (= SUM) and multiplies the sum by two (= SIZE) to figure
out how large storage to allocate from the heap.

FTP wildcard out of bounds read (CVE-2017-8817)

libcurl contains a read out of bounds flaw in the FTP wildcard function. 
libcurl's FTP wildcard matching feature, which is enabled with the 
CURLOPT_WILDCARDMATCH option can use a built-in wildcard function or a user 
provided one. The built-in wildcard function has a flaw that makes it not 
detect the end of the pattern string if it ends with an open bracket ([) but 
instead it will continue reading the heap beyond the end of the URL buffer 
that holds the wildcard.

SSL out of buffer access (CVE-2017-8818)

libcurl contains an out boundary access flaw in SSL related code. When 
allocating memory for a connection (the internal struct called connectdata), a
certain amount of memory is allocated at the end of the struct to be used for
SSL related structs. Those structs are used by the particular SSL library 
libcurl is built to use. The application can also tell libcurl which specific
SSL library to use if it was built to support more than one.

References

CVE Name CVE-2017-8816

CVE Name CVE-2017-8817

CVE Name CVE-2017-8818

URL https://curl.haxx.se/changes.html

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBWh+jLIx+lLeg9Ub1AQhnFA/8DgteedHbdyYhtuLQQ2DH1MelH+wA+ICT
63OqMHYUpzwJ0BwfvCEzA041mqbl7aWqcDMl1E8OVnjM3zXoovB4UAJY7lIuf2A2
MqN+HcUS42pBBIYUvRGTOJbhuOlJDXtFJmzOk/W0VbUY2HlUI2HQXcczsdOcU/Gv
eBSH7c68xyS8Gh3lJN1UuXExQt6Gqeu8r614O7bu8iP8qRxB4auAl6GkAwa/Frhw
CWcYvAPPM/bla7Km3R3JtY2Jev8KfFAJiVhWr83lm5ZFr9lZ3j9/pasfvVDMyqgb
zJq0QD4L7zYc3RnY+kXY1+Lcdks3Hx76umfSSmjQ/g3vaAtu6M0vCP5IkZmeVSfG
jv79+3L3qXor/3GNVnco44fY3LqBtUs4LIxuWr4dnSO/YMsvEmCcDKnRSF6Jy7Tf
pvZH7rd1lsfekZPGrI2cyJ8jsaECREidgn6TXxo1imB2COoaAnnvwvHQbJe+5PMq
TfSZ+98qOJtbmtXhqkpeheqbe1bKJ2Y3o8vBNdqqhcJvE4KOZIqSQy2JkLGPGw9i
AHvqNoP7SOCGb4Dr18Nh3CvDieelVcYJZluw3zGgIGxEPv4tU35hP9NmFw3TUn/O
7Gx4y45WQbtOAYcUclH6nho9jWufRU2BHIB/z+ld0zTN+mk/apS9GaIKGFwbBZ/v
JxHFDILnr0E=
=AjFc
-----END PGP SIGNATURE-----

« Back to bulletins