CVE-2016-8640
Pycsw vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Pycsw. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Pycsw runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- seclists.org/oss-sec/2016/q4/406 · Patch
- github.com/geopython/pycsw/pull/474/files · Patch
- patch-diff.githubusercontent.com/raw/geopython/pycsw/pull/474.patch · Patch
- www.securityfocus.com/bid/94302 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2016-8640
- github.com/advisories/GHSA-hg4c-rgvm-964g
- github.com/geopython/pycsw/commit/522873e5ce48bb9cbd4e7e8168ca881ce709c222
- github.com/geopython/pycsw/commit/69546e13527c82e4f9191769215490381ad511b2
- nvd.nist.gov/vuln/detail/CVE-2016-8640
- cve.org/CVERecord?id=CVE-2016-8640
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.