It appears that the rule ID "1234123456" is causing issues with WHMCS 5.2.5 giving false Positives. On June 30th, 2013 the issue was not there. The next day July 1st, 2013 the issue created itself and started reporting the following. Mind you these issues never occurred before July 1st, 2013. I have had to temporary disable this rule just to get my support tickets to work in all my WHMCS installations.
Code:
[email protected] [~]# cat /usr/local/apache/logs/error_log |grep 75.125.126.8
[Mon Jul 01 16:19:38.431546 2013] [:error] [pid 9660] [client 75.125.126.8] ModSecurity: Multipart parsing error: Multipart: Failed to create file: /root/tmp/20130701-161938-UdHyaq6F2KIAACW8qysAAAAO-file-Q5jDoR [hostname "billing.domain.com"] [uri "/admin/supporttickets.php"] [unique_id "UdHyaq6F2KIAACW8qysAAAAO"]
[Mon Jul 01 16:19:38.431681 2013] [:error] [pid 9660] [client 75.125.126.8] ModSecurity: Access denied with code 44 (phase 2). Match of "eq 0" against "MULTIPART_STRICT_ERROR" required. [file "/usr/local/apache/conf/modsec2.conf"] [line "15"] [id "1234123456"] [msg "Multipart request body failed strict validation: PE 1, BQ 0, BW 0, DB 0, DA 0, HF 0, LF 0, SM 0, IQ 0, IP 0, IH 0, FL 0"] [hostname "billing.domain.com"] [uri "/admin/supporttickets.php"] [unique_id "UdHyaq6F2KIAACW8qysAAAAO"]
Match of "eq 0" against "MULTIPART_STRICT_ERROR" required. [file "/usr/local/apache/conf/modsec2.conf"] [line "15"] [id "1234123456"] [msg "Multipart request body failed strict validation: PE 1, BQ 0, BW 0, DB 0, DA 0, HF 0, LF 0, SM 0, IQ 0, IP 0, IH 0, FL 0"]
[01/Jul/2013:16:19:38 --0500] UdHyaq6F2KIAACW8qysAAAAO 75.125.126.8 33903 174.133.216.173 443
--9871a712-B--
POST /admin/supporttickets.php?action=openticket HTTP/1.1
Host: billing.domain.com
Connection: keep-alive
Content-Length: 1119
Cache-Control: max-age=0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Origin: /https://billing.domain.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryndUiMgWrYJ0qTQtY
Referer: /https://billing.domain.com/admin/supporttickets.php?action=open
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Cookie: sortdata=YToyOntzOjIxOiJzdXBwb3J0dGlja2V0c29yZGVyYnkiO3M6OToibGFzdHJlcGx5IjtzOjE5OiJzdXBwb3J0dGlja2V0c29yZGVyIjtzOjM6IkFTQyI7fQ%3D%3D; WHMCSdqSJIXkuAJtn=63e407707429da6c82d5b4e2226500b6; WHMCSFD=YToxOntzOjE0OiJzdXBwb3J0dGlja2V0cyI7YTo2OntzOjQ6InZpZXciO3M6MDoiIjtzOjY6ImRlcHRpZCI7czowOiIiO3M6NjoiY2xpZW50IjtzOjA6IiI7czo3OiJzdWJqZWN0IjtzOjA6IiI7czo1OiJlbWFpbCI7czowOiIiO3M6MzoidGFnIjtzOjA6IiI7fX0%3D
--9871a712-C--
------WebKitFormBoundaryndUiMgWrYJ0qTQtY
Content-Disposition: form-data; name="token"
2fcece0fe640d67163212a823b23937546b03e66
------WebKitFormBoundaryndUiMgWrYJ0qTQtY
Content-Disposition: form-data; name="client"
------WebKitFormBoundaryndUiMgWrYJ0qTQtY
Content-Disposition: form-data; name="name"
Aaron H
------WebKitFormBoundaryndUiMgWrYJ0qTQtY
Content-Disposition: form-data; name="email"
name @ gmail.com
------WebKitFormBoundaryndUiMgWrYJ0qTQtY
Content-Disposition: form-data; name="ccemail"
------WebKitFormBoundaryndUiMgWrYJ0qTQtY
Content-Disposition: form-data; name="deptid"
2
------WebKitFormBoundaryndUiMgWrYJ0qTQtY
Content-Disposition: form-data; name="subject"
Test
------WebKitFormBoundaryndUiMgWrYJ0qTQtY
Content-Disposition: form-data; name="priority"
High
------WebKitFormBoundaryndUiMgWrYJ0qTQtY
Content-Disposition: form-data; name="message"
Test
------WebKitFormBoundaryndUiMgWrYJ0qTQtY
Content-Disposition: form-data; name="attachments[]"; filename=""
Content-Type: application/octet-stream
------WebKitFormBoundaryndUiMgWrYJ0qTQtY--
--9871a712-F--
HTTP/1.1 500 Internal Server Error
Content-Length: 667
Connection: close
Content-Type: text/html; charset=iso-8859-1
--9871a712-H--
Message: Multipart parsing error: Multipart: Failed to create file: /root/tmp/20130701-161938-UdHyaq6F2KIAACW8qysAAAAO-file-Q5jDoR
Message: Access denied with code 44 (phase 2). Match of "eq 0" against "MULTIPART_STRICT_ERROR" required. [file "/usr/local/apache/conf/modsec2.conf"] [line "15"] [id "1234123456"] [msg "Multipart request body failed strict validation: PE 1, BQ 0, BW 0, DB 0, DA 0, HF 0, LF 0, SM 0, IQ 0, IP 0, IH 0, FL 0"]
Action: Intercepted (phase 2)
Stopwatch: 1372713578430722 1415 (- - -)
Stopwatch2: 1372713578430722 1415; combined=32, p1=1, p2=21, p3=0, p4=0, p5=9, sr=0, sw=1, l=0, gc=0
Producer: ModSecurity for Apache/2.7.3 ([url=http://www.modsecurity.org/]ModSecurity: Open Source Web Application Firewall[/url]).
Server: Apache
Engine-Mode: "ENABLED
Activity