CVE-2023-50164: Apache Struts: File upload component had a directory traversal vulnerability

2023-12-06 Thread Lukasz Lenart
Severity: critical Affected versions: - Apache Struts 2.0.0 through 2.5.32 - Apache Struts 6.0.0 through 6.3.0.1 Description: An attacker can manipulate file upload params to enable paths traversal and under some circumstances this can lead to uploading a malicious file which can be used to p

RE: Struts File Upload Issue

2011-05-27 Thread Martin Gainty
eine Haftung fuer den Inhalt uebernehmen. > From: jpye...@pdinc.us > To: user@struts.apache.org > Subject: RE: Struts File Upload Issue > Date: Fri, 27 May 2011 07:06:23 -0400 > > > -Original Message- > > From: vijayaraja...@cognizant.com > > [mailto:v

RE: Struts File Upload Issue

2011-05-27 Thread Jason Pyeron
> -Original Message- > From: vijayaraja...@cognizant.com > [mailto:vijayaraja...@cognizant.com] > Sent: Friday, May 27, 2011 6:58 > To: user@struts.apache.org > Subject: RE: Struts File Upload Issue > > Hi Alejandro, > > It sometimes happens even for very

RE: Struts File Upload Issue

2011-05-27 Thread VijayaRajan.S
Hi Alejandro, It sometimes happens even for very small files. Regards, Vijayarajan S -Original Message- From: Alejandro García Gil [mailto:alejandro.garcia@gmail.com] Sent: Friday, May 27, 2011 11:51 AM To: Struts Users Mailing List Subject: Re: Struts File Upload Issue Have you

Re: Struts File Upload Issue

2011-05-26 Thread Alejandro García Gil
Have you exceeded the maximum size of the file? 2011/5/26 Paweł Wielgus > Hi, > maybe validation is not permitting action to be called in this situations? > > Best gretings, > Paweł Wielgus. > > > 2011/5/26 : > > Hi, > > > > > > > > I have a query regarding file upload functionality in Struts.

RE: Struts File Upload Issue

2011-05-26 Thread Martin Gainty
pie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Subj

RE: Struts File Upload Issue

2011-05-26 Thread VijayaRajan.S
jay S -Original Message- From: Aaron Brown [mailto:aa...@thebrownproject.com] Sent: Thursday, May 26, 2011 3:23 PM To: Struts Users Mailing List Subject: Re: Struts File Upload Issue Are you certain the action class is not being called at all? Are you logging when the action method execut

Re: Struts File Upload Issue

2011-05-26 Thread Aaron Brown
Are you certain the action class is not being called at all? Are you logging when the action method executes to be sure? Is your user a Mac user? I have seen occasional problems with Mac files (especially fonts) having a null data fork that break the upload process. On May 26, 2011 1:01 AM, wrot

RE: Struts File Upload Issue

2011-05-26 Thread VijayaRajan.S
: Thursday, May 26, 2011 12:32 PM To: Struts Users Mailing List Subject: Re: Struts File Upload Issue Hi, maybe validation is not permitting action to be called in this situations? Best gretings, Paweł Wielgus. 2011/5/26 : > Hi, > > > > I have a query regarding file upload f

Re: Struts File Upload Issue

2011-05-26 Thread Paweł Wielgus
Hi, maybe validation is not permitting action to be called in this situations? Best gretings, Paweł Wielgus. 2011/5/26 : > Hi, > > > > I have a query regarding file upload functionality in Struts. I am > having a screen from where I can upload multiple files. When files are > browsed and submit

Struts File Upload Issue

2011-05-25 Thread VijayaRajan.S
Hi, I have a query regarding file upload functionality in Struts. I am having a screen from where I can upload multiple files. When files are browsed and submit button is clicked, it will first hit a filter, validate the user and calls the action method where uploading the files to the reposito

Re: Problem with browser or Struts file upload code.

2010-12-30 Thread Anjib Mulepati
I don't have session timeout problem and no error in the log itself. Also memory space is enough to load 2.5 GB file. I did put some log info inside form validation(), getter and setter methods. After that i can see that validation(), getter and setter method is called several times with null

Re: Problem with browser or Struts file upload code.

2010-12-29 Thread Aaron Brown
Have you investigated other issues outside the web application? 1) Does the server have enough room in the temp space where the file is saved while it is being uploaded? Most web servers will store the in-progress upload in a temporary default location, and will then copy the file to the final des

Re: Problem with browser or Struts file upload code.

2010-12-29 Thread Anjib Mulepati
Yes in this dummy program I can upload 1.5 GB file so 2MB may be the upper limit. Now in real app what can be the reason for getting text field value null even I have enter something while uploading larger file. I can get the value while working with smaller file. Any idea? Anjib On 12/

Re: Problem with browser or Struts file upload code.

2010-12-29 Thread Paul Benedict
I believe uploading up to 2GB is supported by Struts 1. It relies on Commons FileUpload which has this limitation for older implementations. On Wed, Dec 29, 2010 at 10:24 AM, Anjib Mulepati wrote: > 1. Find that we can change the max file upload size in struts-config file > > http://struts.apach

Re: Problem with browser or Struts file upload code.

2010-12-29 Thread Anjib Mulepati
1. Find that we can change the max file upload size in struts-config file http://struts.apache.org/1.x/userGuide/configuration.html So set to 3GB. processorClass="org.apache.struts.tiles.TilesRequestProcessor" maxFileSize="3G"/> 2. Also in tomcat we can set maxPostSize http://tomcat.apache.

Re: Problem with browser or Struts file upload code.

2010-12-29 Thread Dave Newton
The short answer is that you ignored everything I just said and didn't look at the Tomcat and/or commons docs I referred to, which is where I'd start. IIRC this is not configurable within Struts 1 itself, but I also haven't used it for several years now. Dave On Dec 29, 2010 8:49 AM, "Anjib Mule

Re: Problem with browser or Struts file upload code.

2010-12-29 Thread Anjib Mulepati
I could not figure out where and what changes I have to make. I try with simple app with following code: 1. JSP File - focus="transactionName" method="post" enctype="multipart/form-data" > aria-labelledby="errors" aria-live="assertive"> key="transfer.name"/> property="trans_name" tab

Re: Problem with browser or Struts file upload code.

2010-12-28 Thread Dave Newton
Both commons-fileupload and Tomcat usually have a maximum file upload size; configure one or both. Dave On Dec 28, 2010 2:30 PM, "Anjib Mulepati" wrote: > I am writing an app to upload file using Struts 1.3.8. > > It works fine if I upload small file. But when I try to upload > lager(>200MB) fil

Problem with browser or Struts file upload code.

2010-12-28 Thread Anjib Mulepati
I am writing an app to upload file using Struts 1.3.8. It works fine if I upload small file. But when I try to upload lager(>200MB) file it doesn't response correctly. For larger file my form validation get null for all field even I have value in it. This is happening to all browser IE,FF and

Re: how do you bypass struts file upload functionality?

2009-02-26 Thread John Dell'Aera
class in the struts framework be overridden from the Controller Configuration element? John -- From: "Nils-Helge Garli Hegvik" Sent: Thursday, February 26, 2009 11:15 AM To: "Struts Users Mailing List" Subject: Re: how do you

Re: how do you bypass struts file upload functionality?

2009-02-26 Thread Nils-Helge Garli Hegvik
art/form-data encoded > requests? > > John > > PS. I'm considering using a FileUploadServlet just for the file upload > request. > > > -- > From: "Dave Newton" > Sent: Thursday, February 26, 2009 1:49 A

Re: how do you bypass struts file upload functionality?

2009-02-26 Thread John Dell'Aera
coded requests? John PS. I'm considering using a FileUploadServlet just for the file upload request. -- From: "Dave Newton" Sent: Thursday, February 26, 2009 1:49 AM To: "Struts Users Mailing List" Subject:

Re: how do you bypass struts file upload functionality?

2009-02-26 Thread Dave Newton
John Dell'Aera wrote: I have a file upload application that I'm porting to struts from my custom framework. I would like to continue using the jakarta file upload api so that I do not have to modify my file uploader class. Is there a way to bypass the struts file upload fun

how do you bypass struts file upload functionality?

2009-02-25 Thread John Dell'Aera
hello. I have a file upload application that I'm porting to struts from my custom framework. I would like to continue using the jakarta file upload api so that I do not have to modify my file uploader class. Is there a way to bypass the struts file upload functionality? I believe that as

Struts File Upload Bug.. Please reply.

2008-12-05 Thread Shazad
Hi All, I am using struts 1.3. But i think this issue might be in Struts 2.0. When i upload an excel file with name Book1.xls or a word document Document1.doc or Book1.doc it doesn't recognize the word document as "application/msword" rather it treats it as 'application/octet-stream" similarily fo

Re: Struts file upload issue

2008-11-30 Thread Dave Newton
--- On Sun, 11/30/08, Shazad wrote: > Did you get a chance to look at the file dropping on the validaton issue. Nope. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Struts file upload issue

2008-11-30 Thread Shazad
n't looked, but it might be possible to > > save the file anyway, > > > though, via interceptor ordering or an interceptor > > modification--not sure. > > > > > > Dave > > > > > > > > > --- On Sat, 11/29/08, Khawaja-Shahzad Butt

Re: Struts file upload issue

2008-11-29 Thread Dave Newton
ight be possible to > save the file anyway, > > though, via interceptor ordering or an interceptor > modification--not sure. > > > > Dave > > > > > > --- On Sat, 11/29/08, Khawaja-Shahzad Butt > <[EMAIL PROTECTED]> wrote: > > > >

Re: Struts file upload issue

2008-11-29 Thread Khawaja-Shahzad Butt
be possible to save the file anyway, > though, via interceptor ordering or an interceptor modification--not sure. > > Dave > > > --- On Sat, 11/29/08, Khawaja-Shahzad Butt <[EMAIL PROTECTED]> wrote: > > > From: Khawaja-Shahzad Butt <[EMAIL PROTECTED]> &g

Re: Struts file upload issue

2008-11-29 Thread Dave Newton
t;[EMAIL PROTECTED]> wrote: > From: Khawaja-Shahzad Butt <[EMAIL PROTECTED]> > Subject: Struts file upload issue > To: user@struts.apache.org > Date: Saturday, November 29, 2008, 8:15 PM > Hi, > > I am having an issue with struts file upload during > validation. On

Struts file upload issue

2008-11-29 Thread Khawaja-Shahzad Butt
Hi, I am having an issue with struts file upload during validation. On the page when there's a validation error, the browsed/attached file drops. Does anyone know a work around it, to have the previously attached file in tact, meaning if i have attached a file and hit submit and go

Re: [struts] file upload exception

2007-09-14 Thread Session A Mwamufiya
The upload is named "upload", and the button is "importButton". I'm not sure why there's a conflict there. I added the action context cleanup filter in my web.xml file, but that didn't change anything. One thing I see in my server log is the FileUploadInterceptor that removes the file: 15:08:

Re: [struts] file upload exception

2007-09-14 Thread Dale Newfield
Session A Mwamufiya wrote: You're right about the button, that's what gets put in the file. Could it be that you've named the upload the same as the button, so there are two parameters sent up with the same name, one of which masks the other? -Dale -

Re: struts file upload problem

2005-05-07 Thread Adam Hardy
On 04/05/05 22:40 temp temp wrote: I can upload files of size 1 Gb from localhost but not from network so I guess problem is not related to container upload limit as I did upload 1 Gb file from localhost .I am not able to do this from network however I was able to upload small files from netwo

Re: struts file upload

2005-05-06 Thread Woodchuck
hihi, what application server are you using? and are you forwarding requests from a web server to your application server (eg. apache/IIS --> tomcat)? woodchuck --- temp temp <[EMAIL PROTECTED]> wrote: > I am using struts and trying to upload files of any > type and size.If the server as well

Re: struts file upload

2005-05-06 Thread Dakota Jack
If you look into the basics of the URL framework in Java, you can see it is fairly easy to add support for new protocols and content types. The engineers at Sun, planning for a self-extensible browser, divided the problem into protocol handling and content handling. Handling the protocol means ma

Fwd: struts file upload

2005-05-06 Thread Dakota Jack
-- Forwarded message -- From: Dakota Jack <[EMAIL PROTECTED]> Date: May 6, 2005 8:50 AM Subject: Re: struts file upload To: temp temp <[EMAIL PROTECTED]> If the stream to the file upload fails, then the file upload must abort. I would suggest, again, that you seriou

Re: struts file upload

2005-05-04 Thread Dakota Jack
You might want to build your own file upload application off of commons or cos. The Struts application is not particularly sophisticated. However, if you do, then you have to build your own objects to mine the data, because Struts has tied the internals of the RequestProcessor to the upload appli

Re: struts file upload

2005-05-04 Thread Martin Gainty
Miro Check out JavaZoom UploadBean at http://www.javazoom.net/jzservlets/uploadbean/uploadbean.html HTH, Martin- - Original Message - From: "temp temp" <[EMAIL PROTECTED]> To: Sent: Wednesday, May 04, 2005 8:09 PM Subject: struts file upload I am using struts and

struts file upload

2005-05-04 Thread temp temp
I am using struts and trying to upload files of any type and size.If the server as well as client is on the same PC no issues ,but if I try to accomplish this across the network then I am only able to upload a file if the size is less then 1 MB .Not sure what the problem is. thanks & regards

Re: struts file upload problem

2005-05-04 Thread temp temp
I can upload files of size 1 Gb from localhost but not from network so I guess problem is not related to container upload limit as I did upload 1 Gb file from localhost .I am not able to do this from network however I was able to upload small files from network . sairam --- Dave Newton <[EMA

Re: struts file upload problem

2005-05-04 Thread Dave Newton
temp temp wrote: No there is no limit for file upload as per commons fileupload. The server or container might have an upload limit, for intance Apache has (or did, anyway) "LimitRequestBody" config. Dave - To unsubscribe,

RE: struts file upload problem

2005-05-04 Thread temp temp
ad, isn't there alimit? I > thought there was > > -Original Message- > From: temp temp [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 04, 2005 4:20 PM > To: user@struts.apache.org > Subject: struts file upload problem > > I am using struts to upload a file .

RE: struts file upload problem

2005-05-04 Thread Folashade Adeyosoye
1 GB is Huge to upload, isn't there alimit? I thought there was -Original Message- From: temp temp [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 04, 2005 4:20 PM To: user@struts.apache.org Subject: struts file upload problem I am using struts to upload a file . It works fine with

struts file upload problem

2005-05-04 Thread temp temp
I am using struts to upload a file . It works fine with small files . But for files with size 1Gb it works fine when I upload from localhost but does not work when I upload it from network .It gives network exception socket connection closed by peer. Can somebody help me with this. thanks & re

Re: Struts, file upload, Websphere 5.0.1 'Read timed out'

2004-12-09 Thread Chad Lauritsen (Struts User)
Sean, Is there a proxy server involved in the upload request? csl Sullivan, Sean C - MWT said: > > I am using Struts 1.1 in Websphere 5.0.1 > > I am trying to use Struts' FormFile feature to receive an uploaded file. > > The file upload is failing due to a "Read timed out" error. The error > o

Struts, file upload, Websphere 5.0.1 "Read timed out"

2004-12-09 Thread Sullivan, Sean C - MWT
I am using Struts 1.1 in Websphere 5.0.1 I am trying to use Struts' FormFile feature to receive an uploaded file. The file upload is failing due to a "Read timed out" error. The error occurs when Struts is trying to read data from the InputStream for the HttpServletRequest object. Is this a kn

AW: Struts File-Upload performance issue

2004-05-11 Thread Ralf Alt
ist Betreff: Re: Struts File-Upload performance issue Ralf, What is the speed of your connection? What is the speed of the client's connection? How fast is your server? What is the load on the server? You need to consider those questions before pinning the problem on the Struts file upload.

R: Struts File-Upload performance issue

2004-05-10 Thread Simone - Dev
ling.com/S Any sufficiently advanced technology is indistinguishable from magic "Life is short, play hard" > -Messaggio originale- > Da: Ralf Alt [mailto:[EMAIL PROTECTED] > Inviato: lunedì 10 maggio 2004 17.08 > A: [EMAIL PROTECTED] > Oggetto: Struts File-Upl

RE: Struts File-Upload performance issue

2004-05-10 Thread Kathy Zhou
/uploadbean.html For your info, Kathy -Original Message- From: Daniel Kalcevich [SMTP:[EMAIL PROTECTED] Sent: Monday, May 10, 2004 1:25 PM To: Struts Users Mailing List Subject:RE: Struts File-Upload performance issue There is a package called edtFTPj that allows you to perform

RE: Struts File-Upload performance issue

2004-05-10 Thread Kathy Zhou
/uploadbean.html For your info, Kathy > -Original Message- > From: Daniel Kalcevich [SMTP:[EMAIL PROTECTED] > Sent: Monday, May 10, 2004 1:25 PM > To: Struts Users Mailing List > Subject: RE: Struts File-Upload performance issue > > There is a package called edtFT

RE: Struts File-Upload performance issue

2004-05-10 Thread Daniel Kalcevich
] Sent: Monday, May 10, 2004 10:14 AM To: 'Struts Users Mailing List' Subject: RE: Struts File-Upload performance issue Jacob, I agree with you. I do not think this is a struts issue. Java is not a good tool for large file uploading. We run into the similar issue before. We built a web

RE: Struts File-Upload performance issue

2004-05-10 Thread Kathy Zhou
like to know if anybody has further comments on it. Thanks, Kathy -Original Message- From: Hookom, Jacob [SMTP:[EMAIL PROTECTED] Sent: Monday, May 10, 2004 12:18 PM To: 'Struts Users Mailing List' Subject: RE: Struts File-Upload performance issue Yeah, FTP is the

Re: Struts File-Upload performance issue

2004-05-10 Thread Richard Yee
Ralf, What is the speed of your connection? What is the speed of the client's connection? How fast is your server? What is the load on the server? You need to consider those questions before pinning the problem on the Struts file upload. Regards, Richard --- Ralf Alt <[EMAIL PROTECTED

RE: Struts File-Upload performance issue

2004-05-10 Thread Hookom, Jacob
: Struts Users Mailing List Subject: Re: Struts File-Upload performance issue You need to store 1GB files in a database? Yea, so good luck with that ;) On Monday 10 May 2004 08:07 am, Ralf Alt wrote: > Hallo, > > I'm using the struts file upload with Struts Version 1.1. > > If

Re: Struts File-Upload performance issue

2004-05-10 Thread Mark Lowe
If its an upload what speeds do you get using ftp as a comparison ? Sure once its uploaded saving to the db may not be very long, slowest part is always going to be the network. On 10 May 2004, at 17:07, Ralf Alt wrote: Hallo, I'm using the struts file upload with Struts Version 1.1.

Re: Struts File-Upload performance issue

2004-05-10 Thread Riyad Kalla
You need to store 1GB files in a database? Yea, so good luck with that ;) On Monday 10 May 2004 08:07 am, Ralf Alt wrote: > Hallo, > > I'm using the struts file upload with Struts Version 1.1. > > If I try to upload big files there is a performance problem. For a file of >

Struts File-Upload performance issue

2004-05-10 Thread Ralf Alt
Hallo, I'm using the struts file upload with Struts Version 1.1. If I try to upload big files there is a performance problem. For a file of 40Mb the upload needs about 20 minutes before the action is executed. I need the file upload for storing big files > 1Gb in the database. The storin

Re: struts file upload strange error

2004-05-04 Thread Martin Cooper
"John Moore" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > At 01:13 04/05/2004, Bryan Hunt wrote: > > >Dude, send me your address and I will fed-ex you a cold beer > >!! > >I should have thought of that before. Thanks for your help I've > >j

Re: struts file upload strange error

2004-05-04 Thread John Moore
At 01:13 04/05/2004, Bryan Hunt wrote: Dude, send me your address and I will fed-ex you a cold beer !! I should have thought of that before. Thanks for your help I've just wasted 24 hours on this If I was running linux I could have ran a packet captur

Re: struts file upload strange error

2004-05-03 Thread Richard Yee
darn! I knew I should have answered this one! -R Dude, send me your address and I will fed-ex you a cold beer !! I should have thought of that before. Thanks for your help I've just wasted 24 hours on this If I was running linux I could have ran a pack

Re: struts file upload strange error

2004-05-03 Thread Bryan Hunt
Dude, send me your address and I will fed-ex you a cold beer !! I should have thought of that before. Thanks for your help I've just wasted 24 hours on this If I was running linux I could have ran a packet capture but am on crappy win 2000 box. --B

Re: struts file upload strange error

2004-05-03 Thread Martin Cooper
It's not a Struts bug, and it's not even a Struts-related problem. Any time you need to upload files, you must use a POST request with an 'enctype' of "multipart/form-data". Your form element should look like this: -- Martin Cooper "Bryan Hunt" <[EMAIL PROTECTED]> wrote in message news:[EMAIL

struts file upload strange error

2004-05-03 Thread Bryan Hunt
Hi there list, I have been trying to get the most simple file upload example working with and have been receiving a strange error message that I just can't seem to shake. Here is the basics of my action form snip= public class ImageUploadForm extends ActionForm { // ---