Hash: SHA256

             AUSCERT External Security Bulletin Redistribution

                  curl -- password overflow vulnerability
                             6 September 2018


        AusCERT Security Bulletin Summary

Product:           curl
Publisher:         FreeBSD
Operating System:  FreeBSD
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2018-14618  

Reference:         ESB-2018.2641

Original Bulletin: 

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

curl -- password overflow vulnerability

Affected packages
7.15.4 <= curl < 7.61.1


VuXML ID  f4d638b9-e6e5-4dbe-8c70-571dbc116174
Discovery 2018-09-05
Entry     2018-09-05

curl security problems:

    CVE-2018-14618: NTLM password overflow via integer overflow

    The internal function Curl_ntlm_core_mk_nt_hash multiplies the length of
    the password by two (SUM) to figure out how large temporary storage area to
    allocate from the heap.

    The length value is then subsequently used to iterate over the password and
    generate output into the allocated storage buffer. On systems with a 32 bit
    size_t, the math to calculate SUM triggers an integer overflow when the
    password length exceeds 2GB (2^31 bytes). This integer overflow usually
    causes a very small buffer to actually get allocated instead of the
    intended very huge one, making the use of that buffer end up in a heap
    buffer overflow.

    This bug is almost identical to CVE-2017-8816.


CVE Name CVE-2018-14618
URL      https://curl.haxx.se/docs/CVE-2018-14618.html
URL      https://curl.haxx.se/docs/security.html

- -------------------------------------------------------------------------------

Copyright (C) 2003-2005 Jacques Vidrine and contributors.
Please see the source of this document for full copyright information.

- --------------------------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:


Australian Computer Emergency Response Team
The University of Queensland
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.
Comment: http://www.auscert.org.au/render.html?it=1967