CVE-2014-0791: Integer Overflow

Published Aug 20, 2013
·
Updated

Integer overflow in the licensereadscopelist function in libfreerdp/core/license.c in FreeRDP through 1.0.2 allows remote RDP servers to cause a denial of service (application crash) or possibly have unspecified other impact via a large ScopeCount value in a Scope List in a Server License Request packet.

Other sources

This is from libfreerdp-core/licensereadscopelist():

streamreaduint32(s, scopeCount); / ScopeCount (4 bytes) /

scopeList->count = scopeCount; scopeList->array = (LICENSEBLOB) xmalloc(sizeof(LICENSEBLOB) scopeCount);

Assuming that scopeCount is read from the wire, this results in an integer overflow in the size computation. The array is subsequentially filled with pointers and constants, so this is probably not exploitable for anything but a crash:

/ ScopeArray / for (i = 0; i < scopeCount; i++) { scopeList->array[i].type = BBSCOPEBLOB; licensereadbinaryblob(s, &scopeList->array[i]); }

But I'm filing it as an embargoed security bug just to be sure.

Red Hat

Affected Software

3 affected components
FreeRDP freerdp=1.0.0
FreeRDP freerdp=1.0.1
FreeRDP freerdp=1.0.2

Event History

Aug 20, 2013
Data Sourced
via Red Hat·11:46 AM
DescriptionSeverityAffected Software
Jan 3, 2014
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
Description
Data Sourced
via NVD·06:54 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2014-0791?

The severity of CVE-2014-0791 is considered to be moderate due to the potential denial of service caused by the integer overflow.

2

What versions of FreeRDP are affected by CVE-2014-0791?

CVE-2014-0791 affects FreeRDP versions 1.0.0, 1.0.1, and 1.0.2.

3

How do I fix CVE-2014-0791?

To fix CVE-2014-0791, update FreeRDP to a version later than 1.0.2 where the vulnerability has been addressed.

4

What type of vulnerability is CVE-2014-0791?

CVE-2014-0791 is an integer overflow vulnerability that can lead to denial of service.

5

Can CVE-2014-0791 be exploited remotely?

Yes, CVE-2014-0791 can be exploited remotely through specially crafted requests sent to the RDP server.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203