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
changed the title [-]-2+1[/-][+]-2+3+cmd|' /C calc'!A0[/+]on Feb 21, 2016
Acid commented on Feb 21, 2016
Acidmannequin
MannequinAuthor
More actions
The "Download as CSV " feature of bugs.python.org does not properly "escape" fields. This allows an adversary to turn a field into active content so when we download the csv and opens it, the active content gets executed. Here is more information about this issue: http://www.contextis.com/resources/blog/comma-separated-vulnerabilities/
Steps to Reproduce.
Enter the title with the payload : -2+3+cmd|' /C calc'!A0
Download the bugs as CSV
Open it with excel and Calc will get prompted.
Depending upon the system user privileges, an attacker can perform various tasks using the same.
If the user is with high privilege, it is easy to change the system password as mentioned below
-2+3+cmd|' /C net user administrator lol@123'!A0
Mitigations:
Ensure all fields are properly "escaped" before returning the CSV file to the user.
changed the title [-]-2+3+cmd|' /C calc'!A0[/-][+]CSV Injection Vulnerability[/+]on Feb 21, 2016
Acid commented on Feb 21, 2016
Acidmannequin
MannequinAuthor
More actions
Impact of this one is high, as download as CSV is present for guest user as well. Means anyone can download the bugs using "Download as CSV " function and as the file is downloaded from the trusted resource so the possibility is high the code will get executed.
Activity
[-]-2+1[/-][+]-2+3+cmd|' /C calc'!A0[/+]Acid commentedon Feb 21, 2016
The "Download as CSV " feature of bugs.python.org does not properly "escape" fields. This allows an adversary to turn a field into active content so when we download the csv and opens it, the active content gets executed. Here is more information about this issue:
http://www.contextis.com/resources/blog/comma-separated-vulnerabilities/
Steps to Reproduce.
Depending upon the system user privileges, an attacker can perform various tasks using the same.
If the user is with high privilege, it is easy to change the system password as mentioned below
-2+3+cmd|' /C net user administrator lol@123'!A0
Mitigations:
Ensure all fields are properly "escaped" before returning the CSV file to the user.
Regards,
Acid
[-]-2+3+cmd|' /C calc'!A0[/-][+]CSV Injection Vulnerability[/+]Acid commentedon Feb 21, 2016
Impact of this one is high, as download as CSV is present for guest user as well. Means anyone can download the bugs using "Download as CSV " function and as the file is downloaded from the trusted resource so the possibility is high the code will get executed.
brettcannon commentedon Feb 21, 2016
Tracker bugs should be reported to http://psf.upfronthosting.co.za/roundup/meta/ .
soltysh commentedon Feb 23, 2016
Closing in favor of http://psf.upfronthosting.co.za/roundup/meta/issue580