Results 1 to 3 of 3

Thread: 403 response on sending post request with Html content

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2019
    Posts
    3

    Exclamation 403 response on sending post request with Html content

    I have hosted on php application in direct admin web panel. I have a feature to send email with html content but when i send post request with html content the direct admin is blocking the request saying it as xss attack due to html content. How to overcome this.

    I am getting this error log

    ModSecurity: Access denied with code 403 (phase 2). Pattern match "<link.{0,}?href\\\\/{0,}=" at ARGS_POST:lead_quickemail[body]. [file "/usr/local/cwaf/rules/07_XSS_XSS.conf"] [line "140"] [id "212980"] [rev "4"] [msg "COMODO WAF: IE XSS Filters - Attack Detected.|

    Can anyone help me with this?

  2. #2
    Join Date
    Oct 2008
    Posts
    328
    Remove the rule or review your php code.
    What are in logs?

  3. #3
    Join Date
    Oct 2019
    Posts
    3
    I can't able to remove the rule. Since i don't have access to that config file in direct admin web control panel.


    I tried to connect with SSH it shows access denied

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •