CVE-2013-2120
Linux Debian vulnerability analysis and mitigation

Overview

CVE-2013-2120 affects the KDE Paste Applet's password generation functionality in kdeplasma-addons versions before 4.10.5. The vulnerability lies in the %{password(...)} macro within pastemacroexpander.cpp, which fails to properly generate secure passwords (NVD, CVE).

Technical details

The vulnerability stems from weak random number generation in the password generation function. The code used QDateTime::currentDateTime() and qsrand() with a predictable seed value, making the generated passwords susceptible to brute-force attacks. The CVSS v3.1 base score is 8.4 (High) with vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD, OSS Security).

Impact

The vulnerability allows context-dependent attackers to bypass authentication through brute-force attacks due to the predictable nature of the generated passwords. The weak random number generation significantly reduces the effective password entropy, making it feasible to determine the generated passwords (NVD).

Mitigation and workarounds

A patch was released that switched to using KRandom and addressed modulo bias issues. However, it was noted that the fix still had limitations as KRandom is based on rand() with only 2^32 possible seeds. Users can work around the issue by using the %{exec(...)} macro to call a secure password generator instead (Red Hat Bugzilla, KDE Commit).

Additional resources


SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-0821MEDIUM6.9
  • Linux DebianLinux Debian
  • quickjs
NoNoJan 10, 2026
CVE-2026-22703MEDIUM5.5
  • Linux DebianLinux Debian
  • cosign
NoNoJan 10, 2026
CVE-2026-0822MEDIUM5.3
  • Linux DebianLinux Debian
  • quickjs
NoNoJan 10, 2026
CVE-2025-15506MEDIUM4.8
  • Linux DebianLinux Debian
  • opencolorio
NoNoJan 11, 2026
CVE-2026-22702MEDIUM4.5
  • Linux DebianLinux Debian
  • python-virtualenv
NoNoJan 10, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management