CVE-2022-34770

Tabit - sensitive information disclosure

4.6 medium EPSS 0.51%

Published 22 Aug 2022 Updated 17 Sep 2024 CNA: INCD

Check your servers for CVE-2022-34770

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-34770 affects tabit, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

Tabit - sensitive information disclosure. Several APIs on the web system display, without authorization, sensitive information such as health statements, previous bills in a specific restaurant, alcohol consumption and smoking habits. Each of the described API’s, has in its URL one or more MongoDB ID which is not so simple to enumerate. However, they each receive a ‘tiny URL’ in Tabit’s domain, in the form of https://tbit.be/{suffix} with suffix being a 5 characters long string containing numbers, lower- and upper-case letters. It is not so simple to enumerate them all, but really easy to find some that work and lead to a personal endpoint. This is both an example of OWASP: API4 - rate limiting and OWASP: API1 - Broken object level authorization. Furthermore, the redirect URL disclosed the MongoDB IDs discussed above, and we could use them to query other endpoints disclosing more personal information. For example: The URL https://tabitisrael.co.il/online-reservations/health-statement?orgId={org_id}&healthStatementId={health_statement_id} is used to invite friends to fill a health statement before attending the restaurant. We can use the health_statement_id to access the https://tgm-api.tabit.cloud/health-statement/{health_statement_id} API which disclose medical information as well as id number.

Severity (CVSS)

4.6 medium CVSS 3.1 from INCD (CNA)
CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
Attack vector
adjacent: the attacker has to be on the same local network or link
Attack complexity
high: an attack depends on conditions outside the control of the attacker, such as a race
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality low, integrity low, availability low: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.51%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 37.0% of all scored CVEs. Scores of 29 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Tabit
affected from 3.27.0, before 3.27.0*

Is my server affected?

Find the installed version of tabit and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i tabit
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2022-34770 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2022-34770

RHEL, Rocky, Alma, Fedora

rpm -q tabit
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2022-34770

Alpine

apk list --installed | grep -i tabit

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2022-34770
trivy image --scanners vuln IMAGE | grep CVE-2022-34770

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2022-34770 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.