Cloudanix VulnDB

CVE-2017-12424

Critical · 9.8

CVSS

9.8

EPSS

2.7%

Published

Aug 4, 2017

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

Account creation software can be tricked by bad input into crashing or letting attackers take over systems in shared hosting setups.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Full Compromise
Component
Application
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

The newusers tool in shadow allows malformed input to manipulate internal data structures, resulting in buffer overflows, memory corruption, crashes, or other unspecified behaviors that cross privilege boundaries in multi-tenant setups.

Why it matters to the business

In environments permitting unprivileged users to create subaccounts, this can enable unauthorized privilege escalation or denial of service, disrupting operations and risking data exposure in shared hosting or control-panel scenarios.

How an attack unfolds

An attacker with limited privileges submits specially crafted malformed input to newusers; the tool processes it incorrectly, corrupting memory and potentially allowing code execution or crashes that bypass intended security boundaries.

How to fix it

Upgrade shadow-maint/shadow to the fixed commit 954e3d2e7113e9ac06632aee3c69b8d818cc8952 or later; restrict unprivileged access to account-creation tools until patched.

How to confirm the fix worked

Confirm shadow version contains commit 954e3d2e7113e9ac06632aee3c69b8d818cc8952; test newusers with sample malformed inputs to verify absence of crashes or corruption.

Typical attack path

  1. Gain access to an unprivileged account in a web-hosting control panel that invokes newusers
  2. Craft and submit malformed input targeting newusers data structures
  3. Trigger memory corruption or crash to attempt privilege escalation or denial of service

How to detect it

Review logs from account creation processes and newusers invocations for crash reports, segmentation faults, or malformed input patterns; check for unexpected privilege changes following account creation attempts.

What your security team should do

  • Apply the fixed shadow version immediately due to high CVSS and privilege-boundary crossing
  • Audit and restrict control-panel permissions that allow unprivileged account creation
  • Monitor system logs for newusers crashes or unexpected terminations

The record

In shadow before 4.5, the newusers tool could be made to manipulate internal data structures in ways unintended by the authors. Malformed input may lead to crashes (with a buffer overflow or other memory corruption) or other unspecified behaviors. This crosses a privilege boundary in, for example, certain web-hosting environments in which a Control Panel allows an unprivileged user account to create subaccounts.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 shadow 0 1:4.5-1
Debian:12 shadow 0 1:4.5-1
Debian:13 shadow 0 1:4.5-1
Debian:9 shadow 0 1:4.4-4.1+deb9u1
Mageia:5 shadow-utils 0 4.2.1-6.1.mga5
Mageia:6 shadow-utils 0 4.4-1.1.mga6
SUSE:Linux Enterprise Desktop 12 SP2 shadow 0 4.2.1-27.3.3
SUSE:Linux Enterprise Desktop 12 SP3 shadow 0 4.2.1-27.3.3
SUSE:Linux Enterprise Server 12 SP2 shadow 0 4.2.1-27.3.3
SUSE:Linux Enterprise Server 12 SP3 shadow 0 4.2.1-27.3.3
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 shadow 0 4.2.1-27.3.3
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 shadow 0 4.2.1-27.3.3
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 shadow 0 4.2.1-27.3.3
Ubuntu:18.04:LTS shadow 0 1:4.5-1ubuntu1
Ubuntu:18.04:LTS shadow 0 1:4.5-1ubuntu2.2
Ubuntu:Pro:14.04:LTS shadow 0 1:4.1.5.1-1ubuntu9.5+esm1
Ubuntu:Pro:16.04:LTS shadow 0 1:4.2-3.1ubuntu5.5+esm1

Related vulnerabilities