ESB-2018.2643 - [FreeBSD] curl: Execute arbitrary code/commands - Remote/unauthenticated 2018-09-06

Printable version
PGP/GPG verifiable version

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

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

                               ESB-2018.2643
                  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: 
   http://www.vuxml.org/freebsd/f4d638b9-e6e5-4dbe-8c70-571dbc116174.html

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

curl -- password overflow vulnerability

Affected packages
7.15.4 <= curl < 7.61.1

Details

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.


References

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:

        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

iQIVAwUBW5B8AmaOgq3Tt24GAQgIzxAA0T/PttNl8vOBQutYkg2YjILo0cqLe1d/
lU4daRhhWDQV3g9Mx0LYxIk0p+GnEjRS9d1p9gxZyOqUM3P3kJ6YPMnvY3N8+0MF
6+gQSfbQz8zyXWmHkYhcJqTZDwPrz8DnRXVafFU2ir/HsDLAntssgwcAtRFAlpVo
5uaVvDhtSPjSd2L4opbgdQrB5AYn7YWaw0Jy9gE3qdLUtdSccQ9uGhH/Py4Kh2l9
6Wfl8TWxkC0sneprogxICBJ72dJjPOnx+Riowni/gGz7IngWhOVjmPBlMfrGS1na
8KetAqGn/yoeFumv9igOtv9BvGC1MWq7oKzdAYRF9YfmMdmJqbHK7tyOAqaBj2FB
gJdtDN9VFAnr8yB90TDL3RtMuwnie/fS4O9dmIyTBHWqQyIFWIylGHocQ12v9Eld
+raPrvSfvZuJVyKMnD0Lg1MfR8lZY/4yGgRW4WSs2tkSwGT1/yqiTAeTb/hsWmrN
FQ1/nNSEmm3rqETBqOr5z8coaOQIMLJ7bLI3n+YDSFNo0oxq2WaaJXngkQl3VQ1I
gK2xvnGKNhCZPnH9pGhs0JCDSIvS+BLBM7hGFVXr7adAMDKMITLVES2By38SisCV
bKlNbwxyqFBWI4XGfnHuMqntf64T5ERiDfgokXcY5/lm5GYz8VPXs727sbEX3JCr
mILZ1iH8Xxc=
=H2mw
-----END PGP SIGNATURE-----

« Back to bulletins