cPanel TSR-2014-0007 Full Disclosure
cPanel TSR-2014-0007 Full Disclosure
Case 109049
Summary: Arbitrary file overwrite in /scripts/synccpaddonswithsqlhost
Security Rating: Important
Description: The synccpaddonswithsqlhost script performed unsafe file operations inside the home directories of unprivileged users while running with root's permissions. By manipulating symbolic links within the .cpaddons sub-directory, a local attacker could overwrite arbitrary files with known data.
Credits: This issue was discovered by the cPanel Security Team.
Solution: This issue is resolved in the following builds: 11.44.1.18, 11.42.1.26, 11.40.1.21
Case 109469
Summary: Bypass of email and webdav access during account suspension
Security Rating: Moderate
Description: To disable email and webdav access during an account suspension, the shadow files for the accounts are modified. These shadow files reside in the suspended user's home directory. By removing write permissions from these files, the user could prevent modifications and preserve access for email and webdav virtual accounts.
Credits: This issue was discovered by the cPanel Security Team.
Solution: This issue is resolved in the following builds: 11.44.1.18, 11.42.1.26, 11.40.1.21
Case 109789
Summary: Bypass of account suspension lock via account rename
Security Rating: Minor
Description: The cPanel & WHM logic for suspending accounts allows the root user to lock a suspended account so that the reseller who owns the account is unable to unsuspend it. A reseller with the edit-account ACL could bypass this lock by renaming the suspended account.
Credits: This issue was discovered by the cPanel Security Team.
Solution: This issue is resolved in the following builds: 11.44.1.18, 11.42.1.26, 11.40.1.21
Case 109797
Summary: Bypass of locks for account unsuspension in scripts/remote_unsuspend
Security Rating: Moderate
Description: The cPanel & WHM logic for suspending accounts allows the root user to lock a suspended account so that the reseller that owns the account is unable to unsuspend it. Resellers could bypass these restrictions using the remote_unsuspend WHM interface, which did not check for account suspension locks.
Credits: This issue was discovered by the cPanel Security Team.
Solution: This issue is resolved in the following builds: 11.44.1.18, 11.42.1.26, 11.40.1.21
Case 112041
Summary: Arbitrary file overwrite in checkstunnel script
Security Rating: Moderate
Description: The checkstunnel script attempts to generate a working configuration file for stunnel. During this process, a temporary configuration file is written to a predictable location in /tmp. By placing a symlink at this location, a local attacker could overwrite an arbitrary file with predictable contents.
Credits: This issue was discovered by the cPanel Security Team.
Solution: This issue is resolved in the following builds: 11.44.1.18, 11.42.1.26, 11.40.1.21
Case 112361
Summary: Arbitrary file overwrite via Tailwatch cPBandwd driver
Security Rating: Important
Description: The Tailwatch cPBandwd driver parses the mail logs to track bandwidth usage for accounts on the system. The username from a parsed log line is used in constructing the path to the file in which bandwidth usage is tracked. By carefully manipulating the username of an account logging in, an authenticated attacker could create or overwrite arbitrary files with known data.
Credits: This issue was discovered by the cPanel Security Team.
Solution: This issue is resolved in the following builds: 11.44.1.18, 11.42.1.26, 11.40.1.21
Case 113101
Summary: Arbitrary code execution as shared webmail accounts
Security Rating: Important
Description: When processing HTTP requests, the cpsrvd daemon strips several path traversal sequences from the requested URI before translating the request to a path on the filesystem. Flaws in this logic allowed an authenticated attacker to craft a request that would execute arbitrary PHP code while running as one of the shared webmail accounts.
Credits: This issue was discovered by the cPanel Security Team.
Solution: This issue is resolved in the following builds: 11.44.1.18, 11.42.1.26, 11.40.1.21
Case 113477
Summary: Arbitrary code execution as cpanel-horde user via cache file poisoning
Security Rating: Moderate
Description: The Horde Webmail interfaces accessible to cPanel and Webmail accounts use PHP serialized cache files to speed up some backend operations. These cache files were stored in the world-writable /tmp directory with predictable names when Horde was accessed using the cPanel interfaces. A malicious local attacker could pre-create the cache files inside /tmp, leading to arbitrary code execution as the cpanel-horde user.
Credits: This issue was discovered by the cPanel Security Team.
Solution: This issue is resolved in the following builds: 11.44.1.18, 11.42.1.26, 11.40.1.21
Multiple Cases — XSS Vulnerabilities (5 issues)
Summary: Multiple XSS vulnerabilities in various interfaces
Description: Output filtering errors in several different interfaces allowed JavaScript inputs to be returned to the browser without proper filtering.
| Case | Security Rating | XSS Type | Interface | URL | Affected Releases | Reporter |
|---|---|---|---|---|---|---|
| 109009 | Moderate | Stored | WHM | /cgi/trustclustermaster.cgi | 11.44.1, 11.42.1, 11.40.1 | cPanel Security Team |
| 109029 | Minor | Self-stored | WHM | /scripts2/basic_exim_editor | 11.44.1, 11.42.1, 11.40.1 | cPanel Security Team |
| 109037 | Minor | Self-stored | WHM | /scripts/spamdconf | 11.44.1, 11.42.1, 11.40.1 | cPanel Security Team |
| 109045 | Minor | Stored | WHM | /scripts/servup | 11.44.1, 11.42.1, 11.40.1 | cPanel Security Team |
| 110169 | Important | Stored | WHM | /scripts4/listaccts | 11.44.1, 11.42.1, 11.40.1 | Rohan Durve |
cPanel includes a comprehensive protection mechanism against XSS and XSRF attacks called Security Tokens. Security Tokens protection is enabled by default in all installs of cPanel & WHM. When Security Tokens protection is enabled, an attacker intending to utilize any self-XSS vulnerabilities must convince the victim to navigate their browser to the appropriate cPanel or WHM interface and manually input the JavaScript payload.
Credits: These issues were discovered by the respective reporters listed above.
Solution: These issues are resolved in the following builds: 11.44.1.18, 11.42.1.26, 11.40.1.21
Please sign in to leave a comment.
Comments
0 comments