Vulnerability Details : CVE-2016-8640
A SQL injection vulnerability in pycsw all versions before 2.0.2, 1.10.5 and 1.8.6 that leads to read and extract of any data from any table in the pycsw database that the database user has access to. Also on PostgreSQL (at least) it is possible to perform updates/inserts/deletes and database modifications to any table the database user has access to.
Vulnerability category: Sql Injection
Products affected by CVE-2016-8640
- cpe:2.3:a:pycsw:pycsw:*:*:*:*:*:*:*:*
- cpe:2.3:a:pycsw:pycsw:*:*:*:*:*:*:*:*
- cpe:2.3:a:pycsw:pycsw:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2016-8640
0.19%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 56 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2016-8640
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST | |
9.1
|
CRITICAL | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
3.9
|
5.2
|
NIST |
CWE ids for CVE-2016-8640
-
The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.Assigned by:
- nvd@nist.gov (Primary)
- secalert@redhat.com (Secondary)
References for CVE-2016-8640
-
https://patch-diff.githubusercontent.com/raw/geopython/pycsw/pull/474.patch
Patch;Third Party Advisory
-
http://www.securityfocus.com/bid/94302
pycsw CVE-2016-8640 SQL Injection VulnerabilityThird Party Advisory;VDB Entry
-
http://seclists.org/oss-sec/2016/q4/406
oss-sec: CVE-2016-8640 pycsw SQL injection issueMailing List;Patch;Third Party Advisory
-
https://github.com/geopython/pycsw/pull/474/files
Better CQL handling by tomkralidis · Pull Request #474 · geopython/pycsw · GitHubPatch;Third Party Advisory
Jump to