Livewire Requests Blocked by Azure Front Door WAF in Prevention Mode

Laravel Livewire application hosted on an Azure server. We have enabled Azure Front Door Web Application Firewall (WAF) in Prevention mode. However, we are encountering an issue where requests from Livewire are being blocked by the WAF. The error message returned is:

The request is blocked.
20240611T070599L-r15646b4954ffzb75tbdwwms5c00000005dg00000000abcd
Details:
Azure Setup: We have configured Azure Front Door WAF in prevention mode to enhance security.
Error Message: The specific error message received from the server indicates a request being blocked due to suspected suspicious activity.
Livewire Request Example:
Request: {“_token”:”56B8efYCENB2X5t0u00C0DirE1myAllb34JGqjjy”,”components”:[{“snapshot”:”{“data”:{“showLoginInfo”:false,”showOTPVerify”:true,”email”:”[email protected]”,”is_resend_otp”:null,”generateOTP”:null,”verify_otp_code”:””,”device_token”:null,”isEmailSubmitting”:false,”passwordVisible”:false},”memo”:{“id”:”X4eKX7VMoOT4SbU9B4Nv”,”name”:”auth.login”,”path”:”/”,”method”:”GET”,”children”:[],”scripts”:[],”assets”:[],”errors”:[],”locale”:”en”},”checksum”:”3pk04241276cec0bc49097d0599e857856c58de6cf408112647199bf2a0fb9k3″}”,”updates”:{“verify_otp_code”:”123456″},”calls”:[{“path”:””,”method”:”verifyOtp”,”params”:[]}]}]}
According to the server team, the request is being flagged by the firewall rules as suspicious, specifically triggering a rule associated with SQL injection (sqli) patterns. The WAF log indicates the rule in question is related to the OWASP ModSecurity Core Rule Set (CRS), particularly regexp-942200.

Reference link: regexp-942200

Here are some details of the regular expressions causing the issue:

sqli rulerevision: disassembling sqli rules
,.*?[)da-f”‘]["'][“‘].*?["']

RE2 compatibility for 942200 (#1461)
,.*?)da-f”‘]["'?z

sqli rulerevision: disassembling sqli rules
,.?[)da-f”‘]["'][^”‘`]+
Wselect.+W
?from
selects*?(s*?spaces*?(
creates*?(s*?spaces*?(
renames*?(s*?spaces*?(
truncates*?(s*?spaces*?(
loads*?(s*?spaces*?(
alters*?(s*?spaces*?(
deletes*?(s*?spaces*?(
updates*?(s*?spaces*?(
inserts*?(s*?spaces*?(
descs*?(s*?spaces*?(

Concerns:
Suspicious Activity: The Azure support team mentioned that the request was blocked due to suspicious activity, but we are not creating any manual requests. All requests are automatically generated by Livewire.
Firewall Rules: We understand that disabling rules one by one could help identify the issue, but this may pose security risks.
We identified that the requests are being blocked due to suspected SQL injection patterns.
The recommended solution to disable the rules one by one poses a security risk and is not a viable option.
Questions:
Livewire Request Structure: Is there anything in the structure of Livewire requests that might be flagged as suspicious by security systems such as Azure Front Door WAF?
Error Handling: Has anyone encountered similar issues, and if so, how were they resolved?
Could you provide any insights on why Livewire requests might be triggering these specific WAF rules?
Are there any known issues or configurations in Livewire that could lead to such false positives?
Any guidance or suggestions to resolve this issue would be greatly appreciated.

Thank you for your assistance.

New contributor

Jenish Prajapati is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật