Informix Security Review: OS, Installation and File Security
Checks OS-01 onwards: who can write to the server, its configuration and its chunks.
Whoever can write to $INFORMIXDIR, the onconfig or a chunk owns the server, so these checks come first. onsecurity (shipped since 11.50.xC4) covers the install path; the script runs it when present and adds the rest.
| ID | Check | Default severity | Script |
|---|---|---|---|
| OS-01 | Every directory in the $INFORMIXDIR path is owned by root or informix and not group/other-writable | High | Auto (+ onsecurity output) |
Remediation: chmod go-w; reinstall into a clean path if owners are wrong | |||
| OS-02 | No world-writable files, or non-sticky world-writable dirs, under $INFORMIXDIR | High | Auto |
Remediation: chmod o-w; investigate how they got that way | |||
| OS-03 | onconfig owned by informix (DBSA group), not other-writable | High | Auto |
Remediation: chown informix:informix; chmod 644 or tighter | |||
| OS-04 | sqlhosts (and $INFORMIXSQLHOSTS if set) not group/other-writable | High | Auto |
Remediation: chmod 644 | |||
| OS-05 | Every chunk path (and symlink target) is informix:informix mode 660, no other access | High | Auto (from sysmaster:syschunks) |
Remediation: chmod 660; fix symlink targets, not just links | |||
| OS-06 | Inventory of setuid/setgid binaries under $INFORMIXDIR matches the install manifest | Info | Auto (list) |
| Remediation: Remove unexpected setuid bits | |||
| OS-07 | MSGPATH, DUMPDIR, SQLTRACE/ADTPATH directories not readable by other | Medium | Auto |
Remediation: chmod o-rwx; shared-memory dumps contain row data | |||
| OS-08 | No + entries in /etc/hosts.equiv, the REMOTE_SERVER_CFG file, or ~informix/.rhosts; inventory of every trust entry | Critical if +, else Info | Auto |
Remediation: Remove +; move to REMOTE_SERVER_CFG with named hosts | |||
| OS-09 | ~/.netrc in every account’s home directory: none readable or writable by group or other, none holding DB passwords; treated like hosts.equiv and .rhosts | Critical | Auto (every account; run as root to enter all home directories) |
Remediation: Remove, or chmod 600 and rotate | |||
| OS-10 | TLS keystore and stash files ($INFORMIXDIR/ssl/*) are informix-only, mode 600 | High | Auto |
Remediation: chmod 600 | |||
| OS-11 | informix OS account: password locked or strong, no shared interactive use, sudo rules reviewed | Medium | Manual (root run reads shadow) |
| Remediation: Lock password; DBAs use named accounts + sudo | |||
| OS-12 | Role separation: aaodir and dbssodir group differs from informix where audit independence is required | Info / Medium | Auto |
| Remediation: Reinstall with role separation, or document acceptance | |||
Part of the Informix Security Review set. Check IDs are the ones used in the findings file of the scripts.