CVE-2020-4125 - Download of Code Without Integrity Check

Severity

81%

Complexity

27%

Confidentiality

86%

Using HCL Marketing Operations 9.1.2.4, 10.1.x, 11.1.0.x, a malicious attacker could download files from the RHEL environment by doing some modification in the link, giving the attacker access to confidential information.

CVSS 3.1 Base Score 8.1. CVSS Attack Vector: network. CVSS Attack Complexity: low. CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N).

CVSS 2.0 Base Score 5.5. CVSS Attack Vector: network. CVSS Attack Complexity: low. CVSS Vector: (AV:N/AC:L/Au:S/C:P/I:P/A:N).

Demo Examples

Download of Code Without Integrity Check

CWE-494

This example loads an external class from a local subdirectory.


               
Class loadedClass = Class.forName("loadMe", true, loader);
new URL("file:subdir/")

This code does not ensure that the class loaded is the intended one, for example by verifying the class's checksum. An attacker may be able to modify the class file to execute malicious code.

Download of Code Without Integrity Check

CWE-494

This code includes an external script to get database credentials, then authenticates a user against the database, allowing access to the application.


               
}//assume the password is already encrypted, avoiding CWE-312
}//dbInfo.php makes $dbhost, $dbuser, $dbpass, $dbname available
return true;
return false;

This code does not verify that the external domain accessed is the intended one. An attacker may somehow cause the external domain name to resolve to an attack server, which would provide the information for a false database. The attacker may then steal the usernames and encrypted passwords from real user login attempts, or simply allow himself to access the application without a real user account.

This example is also vulnerable to a MITM (CWE-300) attack.

Overview

First reported 4 years ago

2020-07-20 22:15:00

Last updated 4 years ago

2020-07-24 11:54:00

Affected Software

IBM Marketing Operations 9.1.2.4

9.1.2.4

Stay updated

ExploitPedia is constantly evolving. Sign up to receive a notification when we release additional functionality.

Get in touch

If you'd like to report a bug or have any suggestions for improvements then please do get in touch with us using this form. We will get back to you as soon as we can.