Fake Radio Station Exposes Race Conditions and Insecure Design in Open-Source Flat-File PHP CMS
A developer recently published the initial release of PIG-CMS, a decentralized flat-file content management system written in pure PHP that stores all data in ordinary JSON files instead of using a database. The architecture treats each site as an independent planet in a shared network, with direct P2P mail delivered over cURL, impulse exchange, and a galactic radio feature that lets operators receive broadcasts from other participants.
Instead of the expected silence or dismissive comments, one reader performed an effective field test. A new station appeared in the planet list under the name Mukhomor SPb, bound to the non-existent domain pigcms.ru. Attempts to tune into the station produced errors because no actual endpoint existed. The elegant hint forced immediate changes: the planet registry now performs DNS validation and a reverse handshake with the node.
The episode triggered a comprehensive architectural review. Five recurring design issues were identified and corrected across the codebase.
Race conditions during JSON writes
The original code read a JSON file, decoded it, appended data, and wrote it back using file_put_contents with LOCK_EX. The lock only protected the write operation itself, leaving the read-modify cycle exposed to concurrent requests. Simultaneous P2P messages or likes could overwrite each other. The fix introduced a single wrapper function pig_json_update that acquires an exclusive flock for the entire read-modify-write cycle and applies the modification through a callback.
Plaintext passwords and shared-hosting instability
Credentials were stored in clear text inside config.php. Moving to hashed storage revealed two practical problems on typical Nginx + PHP-FPM shared hosting: heavy bcrypt calls occasionally exhausted worker memory or CPU limits, producing 502 errors, while rewriting the included PHP file invalidated OPcache and crashed the process. The solution moved hashes to an isolated data/users.json file protected by .htaccess and replaced bcrypt with a fast salted SHA-256 implementation compared via hash_equals.
Disabled SSL verification in cURL
Inter-node communication used cURL with CURLOPT_SSL_VERIFYPEER set to false. Strict verification was enabled, with a fallback that retries requests only when local certificate store errors (CURLE_SSL_CACERT and similar) occur on older hosting environments.
Raw IP addresses in metrics
Daily metric logs previously recorded actual visitor IP addresses. A per-site cryptographic salt generated at first run is now combined with IP, user-agent, and date, after which only the first 24 characters of the SHA-256 hash are stored, preventing reconstruction of original addresses.
Ineffective IP bans behind NAT
Three failed login attempts previously triggered an hour-long IP ban at the PHP level. This approach blocks entire offices or mobile networks sharing a single address. The mechanism was replaced with a lightweight mathematical captcha that appears dynamically after three incorrect attempts, stopping automated attacks while allowing legitimate users from the same subnet to proceed.
The complete refactoring affected 15 core files and was published as release v2026.2. The developer credited the anonymous tester behind the Mukhomor SPb station for surfacing issues that automated audits had missed.
Related articles
SolarWinds Releases Serv-U 2026.4 to Fix 18 Vulnerabilities Including Nine Critical Flaws
SolarWinds has published security updates for its file transfer solution Serv-U, addressing 18 product-specific vulnerabilities. Nine of these issues received the highest severity rating of Critical. The update, Serv-U 2026.4, was released on November 24, 2026. Among the critical flaws are two Linux privilege-escalation vulnerabilities that allow attackers to gain root access, and two type-confusion issues that could let domain administrators obtain system administrator rights. Three additional critical vulnerabilities stem from time-of-check to time-of-use race conditions, enabling unauthorized file reads, modifications, or code execution. The remaining critical flaws also involve file tampering and privilege escalation risks.
Broadcom Discloses 23 Vulnerabilities in VMware ESX, vCenter and Related Products
Broadcom published security advisory VMSA-2026-0011 on November 24, 2026, revealing 23 CVEs across multiple VMware products. Four vulnerabilities received the highest Critical rating with CVSSv3.1 base scores of 9.8, six were rated Important, ten Moderate, and three Low. In VMware ESX, flaws in the I/O filter service enable out-of-bounds memory writes and use-after-free conditions that can lead to remote code execution on the host. VMware vCenter contains an authentication bypass in the directory service that allows unauthenticated remote access to the system. A shared USB controller vulnerability affects ESX, Workstation, and Fusion, permitting out-of-bounds writes. The advisory provides remediation guidance for all affected versions.
GT13 Threat Group Uses AI Tools to Breach Check Point Management Servers via CVE-2026-16232
Cybercriminals tracked by GreyNoise as GT13 compromised 24 Check Point Security Management servers across 22 organizations in 17 countries between October 17 and November 2. The attackers leveraged the known vulnerability CVE-2026-16232 to access the central policy administration panel, exfiltrate firewall databases and internal certificate authority files, issue new certificates, and disable security policies. They also used a compromised Rejetto HFS server via CVE-2026-61500 as an operational relay after failing to deploy the Linux implant ZULT. The campaign targeted financial services, energy, government, transportation, mining, engineering, and industrial sectors, with activity originating from 99 IP addresses including commercial VPNs and previously compromised hosts. GreyNoise assessed the group employs offensive AI-driven tooling that accelerates reconnaissance and exploitation of exposed management interfaces. Check Point stated the incident involved a previously disclosed vulnerability and urged organizations to apply patches and restrict management access. The group conducted follow-on reconnaissance against Citrix NetScaler, Ivanti Connect Secure, VMware vCenter, and Microsoft Exchange systems but remains unattributed to any known actor.
CISA Adds 10 Known Exploited Vulnerabilities to KEV Catalog Targeting Mitel MiCollab and Juniper Networks
The US Cybersecurity and Infrastructure Security Agency (CISA) has added ten vulnerabilities with confirmed exploitation in the wild to its Known Exploited Vulnerabilities (KEV) catalog. The update includes five flaws in Mitel MiCollab communication tools that enable unauthenticated remote code execution through OS command injection and XML injection vectors. Additional Mitel issues allow unauthenticated file uploads, authentication bypass, and sensitive data disclosure under certain conditions. Juniper Networks products are affected by a remote root command execution flaw in Session Smart Conductor and Session Smart Router. A separate authentication bypass vulnerability granting administrator privileges was also cataloged for the Xen Orchestra virtualization management platform.