Path traversal in Sphinx - CVE-2020-29050
Published: January 11, 2022
Vulnerability details
The vulnerability allows a remote user to perform directory traversal attacks.
The vulnerability exists due to input validation error when processing directory traversal sequences, because the mysql client can be used for CALL SNIPPETS and load_file operations on a full pathname (e.g., a file in the /etc directory). A remote user can send a specially crafted HTTP request and read arbitrary files on the system.
Please note, the affected version does not require authentication by default (see vulnerability #VU59363) and therefore the vulnerability can be exploited by a remote non-authenticated attacker in the default configuration.
Affected software
sphinxsearch (Debian package)
sphinx
libsphinxclient-devel
sphinx-php
libsphinxclient
sphinx-debuginfo
sphinx-java
sphinx-debugsource
sphinx-help
openEuler
How to mitigate CVE-2020-29050
sphinxsearch (Debian package) - update to 2.2.11-2+deb10u1
sphinx - update to 2.2.11-2
libsphinxclient-devel - update to 2.2.11-2
sphinx-php - update to 2.2.11-2
libsphinxclient - update to 2.2.11-2
sphinx-debuginfo - update to 2.2.11-2
sphinx-java - update to 2.2.11-2
sphinx-debugsource - update to 2.2.11-2
sphinx-help - update to 2.2.11-2