NULL pointer dereference in illumos nwamd door handler allows local users to crash the daemon
illumos-gate · OmniOS
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| illumos illumos-gate x86 |
| No fix yet |
| OmniOS OmniOS |
| No fix yet |
illumos-gate · OmniOS
| Product | Affected | Fixed in |
|---|---|---|
| illumos illumos-gate x86 |
| No fix yet |
| OmniOS OmniOS |
| No fix yet |
A NULL pointer dereference in the illumos Network Auto-Magic daemon (nwamd) allows a local user to crash the daemon. nwamd_door_switch() in usr/src/cmd/cmd-inet/lib/nwamd/door_if.c writes to the caller's request structure before checking that a request was supplied, and before checking the caller's credentials. Because the nwamd door at /etc/svc/volatile/nwam/nwam_door is accessible to all local users, an unprivileged user can issue a door_call() with no argument data to crash nwamd; repeated calls place the svc:/network/physical:nwam service into maintenance, stopping automatic network configuration. nwamd runs only when svc:/network/physical:nwam is enabled, which is not the default. The flaw has existed since 2010 (illumos-gate commit 6ba597c5), and affects any illumos distribution prior to illumos-gate commit 0f1064d9.
From the CVE record · illumos
A NULL pointer dereference in the illumos Network Auto-Magic daemon (nwamd) lets an unprivileged local user crash it without authentication. Repeated calls can put the network configuration service into maintenance, stopping automatic network configuration. This is possible only when the nwam service is enabled, which is not the default.
Operators of illumos distributions, including OmniOS, should check systems using illumos-gate before commit 0f1064d9 where the nwam service is enabled.