Bug 1298854 - (CVE-2016-1900) CVE-2016-1900 cgit: Stored Cross Site Scripting & Header Injection in Filename Parameter
CVE-2016-1900 cgit: Stored Cross Site Scripting & Header Injection in Filenam...
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20160114,repor...
: Security
Depends On: 1298855 1298856
Blocks:
  Show dependency treegraph
 
Reported: 2016-01-15 04:36 EST by Adam Mariš
Modified: 2016-02-01 18:24 EST (History)
4 users (show)

See Also:
Fixed In Version: cgit 0.12
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Adam Mariš 2016-01-15 04:36:46 EST
It was found that user who has write access to the git repository could create filenames containing new lines that would result in that filename, including the newlines, being included in a header, resulting in header injection and eventually XSS.

Upstream patch:

http://git.zx2c4.com/cgit/commit/?id=513b3863d999f91b47d7e9f26710390db55f9463

CVE assignment:

http://openwall.com/lists/oss-security/2016/01/14/6
Comment 1 Adam Mariš 2016-01-15 04:37:18 EST
Created cgit tracking bugs for this issue:

Affects: fedora-all [bug 1298855]
Affects: epel-all [bug 1298856]
Comment 2 Fedora Update System 2016-01-25 22:19:03 EST
cgit-0.12-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
Comment 3 Fedora Update System 2016-01-26 13:26:19 EST
cgit-0.12-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
Comment 4 Fedora Update System 2016-02-01 17:54:40 EST
cgit-0.12-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.
Comment 5 Fedora Update System 2016-02-01 18:24:44 EST
cgit-0.12-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.