Lucene search

K
hackeroneDoosec101H1:1748961
HistoryOct 25, 2022 - 8:59 a.m.

Consensys: CSV Injection at https://assets-paris-demo.codefi.network/

2022-10-2508:59:53
doosec101
hackerone.com
$500
26

9.3 High

CVSS2

Access Vector

NETWORK

Access Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:M/Au:N/C:C/I:C/A:C

0.008 Low

EPSS

Percentile

79.9%

Summary:

Hi consensys Security Team.

I have found CSV Injection when generate report at https://assets-paris-demo.codefi.network/

CSV Injection, also known as Formula Injection, occurs when websites embed untrusted input inside CSV files.
When a spreadsheet program such as Microsoft Excel or LibreOffice Calc is used to open a CSV, any cells starting with = will be interpreted by the software as a formula. Maliciously crafted formulas can be used for three key attacks:

- Hijacking the user’s computer by exploiting vulnerabilities in the spreadsheet software, such as CVE-2014-3524.
- Hijacking the user’s computer by exploiting the user’s tendency to ignore security warnings in spreadsheets that they downloaded from their own website.
- Exfiltrating contents from the spreadsheet, or other open spreadsheets.

Steps To Reproduce:

  1. Create an account at https://assets-paris-demo.codefi.network/
  2. Go to Client management
  3. Create new client
  4. At Client name* Put this paylaod:- =cmd|' /C notepad'!'A1'
  5. After create new client Download the data.

Supporting Material/References:

{F2002581}

##Similar valid reports at hackerone:-

Please let me know if need more info.
Best Regards.
@doosec101

Impact

This vulnerability can be harm for normal user because if malicious user injected any malicious script in token note and when customer user download CSV file then inserted command directly runs when CSV file open.

##FIX:-
Prefix =, +, - and @ symbols with a ’ in issues when exporting them to a .csv file.

9.3 High

CVSS2

Access Vector

NETWORK

Access Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:M/Au:N/C:C/I:C/A:C

0.008 Low

EPSS

Percentile

79.9%