Control Web Panel

WebPanel => CentOS-WebPanel GUI => Topic started by: NocNet on June 05, 2017, 01:35:37 AM

Title: File Manager: FTP upload problem
Post by: NocNet on June 05, 2017, 01:35:37 AM
Hi,

I'm using Centos 7. I try to upload file to public_html using file manager (gui). I can see transfer in progress with green color. But when i refresh, it's not there. The file is small only, a few kilo byte.

I try to use ftp client and it's success. I check, pureftpd already installed. Is this some kind of bug? Please advice.

Thanks.
Title: Re: File Manager: FTP upload problem
Post by: NocNet on June 05, 2017, 02:28:42 AM
This is error:
Code: [Select]
[Mon Jun 05 09:57:59.734411 2017] [:error] [pid 13396:tid 140306817169152] [client 60.52.113.134:61331] [client 60.52.113.134] ModSecurity: Multipart parsing error (init): Multipart: Boundary not found in C-T. [hostname "213.15.32.115"] [uri "/webftp_simple/"] [unique_id "WTS6p38AAAEAADRUAV0AAAAN"], referer: http://213.15.32.115/webftp_simple/
[Mon Jun 05 09:57:59.812057 2017] [:error] [pid 13396:tid 140306817169152] [client 60.52.113.134:61331] [client 60.52.113.134] ModSecurity: Access denied with code 403 (phase 2). Match of "eq 0" against "REQBODY_ERROR" required. [file "/usr/local/apache/modsecurity-owasp-old/base_rules/modsecurity_crs_20_protocol_violations.conf"] [line "151"] [id "960912"] [rev "1"] [msg "Failed to parse request body."] [data "Multipart: Boundary not found in C-T."] [severity "CRITICAL"] [ver "OWASP_CRS/2.2.9"] [maturity "9"] [accuracy "9"] [tag "OWASP_CRS/PROTOCOL_VIOLATION/INVALID_REQ"] [tag "CAPEC-272"] [hostname "213.15.32.115"] [uri "/webftp_simple/"] [unique_id "WTS6p38AAAEAADRUAV0AAAAN"], referer: http://213.15.32.115/webftp_simple/
[Mon Jun 05 10:00:54.301456 2017] [:error] [pid 13396:tid 140306850739968] [client 60.52.113.134:61786] [client 60.52.113.134] ModSecurity: Multipart parsing error (init): Multipart: Boundary not found in C-T. [hostname "213.15.32.115"] [uri "/webftp_simple/"] [unique_id "WTS7Vn8AAAEAADRUAWEAAAAJ"], referer: http://213.15.32.115/webftp_simple/
[Mon Jun 05 10:00:54.380280 2017] [:error] [pid 13396:tid 140306850739968] [client 60.52.113.134:61786] [client 60.52.113.134] ModSecurity: Access denied with code 403 (phase 2). Match of "eq 0" against "REQBODY_ERROR" required. [file "/usr/local/apache/modsecurity-owasp-old/base_rules/modsecurity_crs_20_protocol_violations.conf"] [line "151"] [id "960912"] [rev "1"] [msg "Failed to parse request body."] [data "Multipart: Boundary not found in C-T."] [severity "CRITICAL"] [ver "OWASP_CRS/2.2.9"] [maturity "9"] [accuracy "9"] [tag "OWASP_CRS/PROTOCOL_VIOLATION/INVALID_REQ"] [tag "CAPEC-272"] [hostname "213.15.32.115"] [uri "/webftp_simple/"] [unique_id "WTS7Vn8AAAEAADRUAWEAAAAJ"], referer: http://213.15.32.115/webftp_simple/
Title: Re: File Manager: FTP upload problem
Post by: NocNet on June 05, 2017, 02:44:26 AM
It issue with Mod_Security. Now solve already.
Title: Re: File Manager: FTP upload problem
Post by: andrereyes_mzt on January 08, 2019, 08:43:17 PM
I have the issue, how did you solved it?
Title: Re: File Manager: FTP upload problem
Post by: Jamshed Datori on January 11, 2019, 02:00:33 AM
I have the issue, how did you solved it?

Just disable the mod_security for your domain.
Title: Re: File Manager: FTP upload problem
Post by: andrereyes_mzt on January 12, 2019, 04:09:37 AM
I have the issue, how did you solved it?

Just disable the mod_security for your domain.

I did, and I even uninstalled mod security and the problem persist.
Title: Re: File Manager: FTP upload problem
Post by: studio4host on January 14, 2019, 08:16:38 AM
make sure you are using the file manager from the user panel if talking about centos 7...also you can use FileZilla as FTP software from your computer to connect on the server and transfer files.