Informix Security Review: onconfig Security Parameters
Checks CFG-01 onwards: the parameters that decide what the server allows.
Values are read from sysmaster:sysconfig.cf_effective (what the server is actually running), not the file, and the file is diffed against it to catch pending changes. A parameter missing from sysconfig means the version predates it: NA.
| ID | Parameter | Expect | Default severity |
|---|---|---|---|
| CFG-01 | DB_LIBRARY_PATH | Set, includes $INFORMIXDIR/extend, no user-writable dirs | Medium (High if external UDRs exist) |
| Why: Unset means external modules load from any path | |||
| CFG-02 | IFX_EXTEND_ROLE | 1 / On | High |
| Why: Off lets anyone with USAGE ON LANGUAGE C register native code | |||
| CFG-03 | DBCREATE_PERMISSION | Set to named users/groups | Medium |
| Why: Unset lets any connecting user create databases (and become their DBA) | |||
| CFG-04 | UNSECURE_ONSTAT | Unset / 0 | Medium |
| Why: 1 lets any OS user see other sessions' SQL text, including literals | |||
| CFG-05 | ADMIN_MODE_USERS | Empty or reviewed list | Info |
| Why: These users keep access in admin mode | |||
| CFG-06 | USERMAPPING | OFF unless mapped users are needed; ADMIN reviewed | Medium if ADMIN |
| Why: ADMIN lets mapped users hold DBSA-level surrogates | |||
| CFG-07 | SECURITY_LOCALCONNECTION | Set (1 or 2) | Low |
| Why: Verifies local user ID (and port) on local connections | |||
| CFG-08 | REMOTE_SERVER_CFG / REMOTE_USERS_CFG | Set to an Informix-only file when trust is used | Medium |
| Why: Keeps Informix trust out of the OS-wide hosts.equiv | |||
| CFG-09 | S6_USE_REMOTE_SERVER_CFG | 1 when s=6 listeners exist | Low |
| Why: Otherwise s=6 trust falls back to hosts.equiv | |||
| CFG-10 | SQLTRACE | Off, or level/mode reviewed | Medium |
| Why: Captures statement text and host variables in memory | |||
| CFG-11 | DUMPSHMEM / DUMPCORE / DUMPDIR | DUMPDIR not other-readable (see OS-07) | Medium |
| Why: Dumps hold buffer-pool data | |||
| CFG-12 | LISTEN_TIMEOUT, MAX_INCOMPLETE_CONNECTIONS, LIMITNUMSESSIONS | Set deliberately | Low |
| Why: Connection-flood resilience | |||
| CFG-13 | NODEFDAC (server environment, onstat -g env) | yes | Medium |
| Why: Without it, new tables in non-ANSI databases grant ALL to PUBLIC | |||
| CFG-14 | DISK_ENCRYPTION | Set where data at rest must be encrypted | Medium (context) |
| Why: Storage-space encryption (12.10.xC8 onwards) | |||
| CFG-15 | BACKUP_FILTER / RESTORE_FILTER | Encrypting filter where backups leave the host | Medium (context) |
| Why: Backups are a full copy of the data | |||
| CFG-16 | TAPEDEV / LTAPEDEV / BAR paths | Directories informix-only | High if other-readable |
| Why: Backup files readable = database readable | |||
| CFG-17 | ENCRYPT_HDR / ENCRYPT_SMX / ENCRYPT_CIPHERS | On for HA over untrusted networks, on releases before 14.10.xC9 | Medium (context) |
| Why: Built-in encryption was removed in 14.10.xC9; use network-level encryption after that | |||
CFG-17 matters on upgrade: HCL's docs say Informix encryption support is removed from 14.10.xC9, so an instance relying on ENCRYPT_HDR silently needs a replacement (VPN, IPsec or TLS tunnel) after upgrading.
Part of the Informix Security Review set. Check IDs are the ones used in the findings file of the scripts.