#VU34079 Permissions, Privileges, and Access Controls in SQLite


Published: 2020-08-06 | Updated: 2023-10-28

Vulnerability identifier: #VU34079

Vulnerability risk: Low

CVSSv3.1: 2.9 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2020-13631

CWE-ID: CWE-264

Exploitation vector: Local

Exploit availability: No

Vulnerable software:
SQLite
Server applications / Database software

Vendor: SQLite

Description

The vulnerability allows a local user to bypass certain security restrictions.

The vulnerability exists due an error in alter.c and build.c files in SQLite that allows a local user to rename a virtual table into a shadow table. A local user with permissions to create virtual tables can renamed them and gain unauthorized access to the fronted application.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

SQLite: 3.0.0 - 3.31.1


External links
http://bugs.chromium.org/p/chromium/issues/detail?id=1080459
http://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/L7KXQWHIY2MQP4LNM6ODWJENMXYYQYBN/
http://security.FreeBSD.org/advisories/FreeBSD-SA-20:22.sqlite.asc
http://security.gentoo.org/glsa/202007-26
http://security.netapp.com/advisory/ntap-20200608-0002/
http://sqlite.org/src/info/eca0ba2cf4c0fdf7
http://usn.ubuntu.com/4394-1/
http://www.oracle.com/security-alerts/cpujul2020.html


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability