    private FileItem getFileItem( HttpServletRequest request ) throws FileUploadException {
        Iterator iterator = getServletFileUpload().parseRequest( request ).iterator();
        while ( iterator.hasNext() ) {
            FileItem item = (FileItem) iterator.next();
            if ( !item.isFormField() ) {
                return item;
            }
        }
        return null;
    }
Weaknesses in this category are related to the management of permissions, privileges, and other security features that are used to perform access control.