CVE-2020-6204 - Missing Authorization

Severity

43%

Complexity

27%

Confidentiality

23%

The selection query in SAP Treasury and Risk Management (Transaction Management) (EA-FINSERV?versions 600, 603, 604, 605, 606, 616, 617, 618, 800 and S4CORE versions 101, 102, 103, 104) returns more records than it should be when selecting and displaying the contract number, leading to Missing Authorization Check.

The selection query in SAP Treasury and Risk Management (Transaction Management) (EA-FINSERV?versions 600, 603, 604, 605, 606, 616, 617, 618, 800 and S4CORE versions 101, 102, 103, 104) returns more records than it should be when selecting and displaying the contract number, leading to Missing Authorization Check.

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

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

Demo Examples

Missing Authorization

CWE-862

This function runs an arbitrary SQL query on a given database, returning the result of the query.


               
$employeeRecord = runEmployeeQuery('EmployeeDB',$_GET['EmployeeName']);
return $preparedStatement->fetchAll();//Use a prepared statement to avoid CWE-89
/.../

While this code is careful to avoid SQL Injection, the function does not confirm the user sending the query is authorized to do so. An attacker may be able to obtain sensitive employee information from the database.

Missing Authorization

CWE-862

The following program could be part of a bulletin board system that allows users to send private messages to each other. This program intends to authenticate the user before deciding whether a private message should be displayed. Assume that LookupMessageObject() ensures that the $id argument is numeric, constructs a filename based on that id, and reads the message details from that file. Also assume that the program stores all private messages for all users in the same directory.


               
DisplayPrivateMessage($id);
print "Body: " . encodeHTML($Message->{body}) . "\n";
# For purposes of this example, assume that CWE-309 and# CWE-523 do not apply.
ExitError("invalid username or password");

While the program properly exits if authentication fails, it does not ensure that the message is addressed to the user. As a result, an authenticated attacker could provide any arbitrary identifier and read private messages that were intended for other users.

One way to avoid this problem would be to ensure that the "to" field in the message object matches the username of the authenticated user.

Overview

Type

SAP Treasury and Risk Management (EA-FINSERV)

First reported 4 years ago

2020-03-10 21:15:00

Last updated 4 years ago

2020-03-12 16:15:00

Affected Software

SAP Treasury and Risk Management (EA-FINSERV) 600

600

SAP Treasury and Risk Management (EA-FINSERV) 603

603

SAP Treasury and Risk Management (EA-FINSERV) 604

604

SAP Treasury and Risk Management (EA-FINSERV) 605

605

SAP Treasury and Risk Management (EA-FINSERV) 606

606

SAP Treasury and Risk Management (EA-FINSERV) 616

616

SAP Treasury and Risk Management (EA-FINSERV) 617

617

SAP Treasury and Risk Management (EA-FINSERV) 618

618

SAP Treasury and Risk Management (EA-FINSERV) 800

800

SAP Treasury and Risk Management (EA-FINSERV) 101

101

SAP Treasury and Risk Management (EA-FINSERV) 102

102

SAP Treasury and Risk Management (EA-FINSERV) 103

103

SAP Treasury and Risk Management (EA-FINSERV) 104

104

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.