Cloudanix VulnDB

CVE-2022-26491

Medium · 5.9

CVSS

5.9

EPSS

2.6%

Published

Jun 2, 2022

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

Attackers could trick the chat program into connecting to a fake server and steal usernames, passwords, and message contents.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Moderate
Impact
Data Exposure
Component
Application
Class
Authentication Bypass
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

DNS spoofing redirects XMPP client connections to a malicious server, causing TLS certificate verification to occur against the attacker-controlled domain rather than the original service domain, enabling full connection takeover for credential and content interception.

Why it matters to the business

Potential exposure of user credentials and all XMPP communication contents could lead to account compromises and leakage of sensitive operational or personal information in environments relying on the affected chat software.

How an attack unfolds

An attacker spoofs DNS responses for the target XMPP domain to redirect the client to a server they control; the client then performs TLS verification on the malicious domain name instead of the original, allowing the attacker to present a valid certificate for their domain, establish the connection, and intercept all traffic including login credentials.

How to fix it

Upgrade Pidgin to version 2.14.9 or later on all affected systems; consider enabling DNSSEC or using pinned server addresses where supported to reduce spoofing risks.

How to confirm the fix worked

Verify installed Pidgin version is 2.14.9 or newer via application about dialog or package manager; test by simulating DNS redirection in a lab environment and confirming certificate verification failures or connection blocks for spoofed domains.

Typical attack path

  1. Spoof DNS responses to redirect XMPP domain queries to attacker server
  2. Client initiates connection to malicious endpoint
  3. TLS certificate verification succeeds against attacker-controlled domain
  4. Attacker establishes MITM position over the XMPP session
  5. Capture authentication credentials and decrypt all subsequent messages

How to detect it

Examine Pidgin debug logs and system DNS query logs for unexpected server IP addresses or certificate validation events tied to XMPP domains; correlate with network traffic showing connections to non-standard XMPP endpoints.

  • pidgin process initiating XMPP connections to non-org domains
  • DNS responses returning unexpected IPs for known XMPP hostnames

What your security team should do

  • Prioritize immediate upgrade of all Pidgin installations to 2.14.9+
  • Review and harden DNS resolution configurations to mitigate spoofing
  • Enable detailed connection logging in Pidgin for ongoing monitoring

The record

An issue was discovered in Pidgin before 2.14.9. A remote attacker who can spoof DNS responses can redirect a client connection to a malicious server. The client will perform TLS certificate verification of the malicious domain name instead of the original XMPP service domain, allowing the attacker to take over control over the XMPP connection and to obtain user credentials and all communication content. This is similar to CVE-2022-24968.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 pidgin 0 No fix
Debian:12 pidgin 0 2.14.9-1
Debian:13 pidgin 0 2.14.9-1
Debian:14 pidgin 0 2.14.9-1
Debian:9 pidgin 0 2.12.0-1+deb9u1
Mageia:8 pidgin 0 2.14.1-6.1.mga8
SUSE:Linux Enterprise Module for Package Hub 15 SP3 pidgin 0 2.13.0-150200.12.6.1
SUSE:Linux Enterprise Module for Package Hub 15 SP4 pidgin 0 2.14.8-150400.3.3.1
SUSE:Linux Enterprise Software Development Kit 12 SP5 pidgin 0 2.12.0-3.6.1
SUSE:Linux Enterprise Workstation Extension 12 SP5 pidgin 0 2.12.0-3.6.1
SUSE:Linux Enterprise Workstation Extension 15 SP3 pidgin 0 2.13.0-150200.12.6.1
SUSE:Linux Enterprise Workstation Extension 15 SP4 pidgin 0 2.14.8-150400.3.3.1
Ubuntu:14.04:LTS pidgin 0 No fix
Ubuntu:16.04:LTS pidgin 0 No fix
Ubuntu:18.04:LTS pidgin 0 No fix
Ubuntu:20.04:LTS pidgin 0 No fix
Ubuntu:22.04:LTS pidgin 0 No fix
Ubuntu:24.04:LTS pidgin 0 No fix
Ubuntu:24.10 pidgin 0 No fix
Ubuntu:25.04 pidgin 0 No fix
Ubuntu:25.10 pidgin 0 No fix
Ubuntu:Pro:14.04:LTS pidgin 0 No fix
Ubuntu:Pro:16.04:LTS pidgin 0 No fix
Ubuntu:Pro:18.04:LTS pidgin 0 No fix
Ubuntu:Pro:20.04:LTS pidgin 0 No fix
openSUSE:Leap 15.3 pidgin 0 2.13.0-150200.12.6.1
openSUSE:Leap 15.4 pidgin 0 2.13.0-150200.12.6.1

Related vulnerabilities