Exploit databaseDownload repository ZIP
GH-9a017fa45abc7e1f8f6ba6e1285cae54
iplayforsg/cve-2023-51444
Sources for CVE-2023-51444
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files61
iplayforsg/cve-2023-51444Revision 5cd0aeccb789
- ↑..Parent directory
- executor/
- gs/
- jts/
- kvp/
- ppio/
- process/
- property/
- resource/
- response/
- schemas/
- security/
- transmute/
- validator/
- xml/
- BinaryEncoderDelegate.java
- CDataEncoderDelegate.java
- CompositeComparator.java
- DataTransformer.java
- DefaultWebProcessingService.java
- DeprecatedProcessFactory.java
- DescribeProcess.java
- DescribeProcessTransformer.java
- DisabledProcessesSelector.java
- Dismiss.java
- DismissType.java
- Execute.java
- Executions.java
- GetCapabilities.java
- GetExecutionResultType.java
- GetExecutionStatusType.java
- GetExecutionsTransformer.java
- GetExecutionsType.java
- GetResult.java
- GetSchema.java
- GetStatus.java
- MemoryProcessStatusStore.java
- ProcessDismissedException.java
- ProcessEvent.java
- ProcessGroupInfo.java
- ProcessGroupInfoImpl.java
- ProcessInfo.java
- ProcessInfoImpl.java
- ProcessListener.java
- ProcessListenerAdapter.java
- ProcessStatusStore.java
- RawDataEncoderDelegate.java
- StatusResponseBuilder.java
- UnknownExecutionIdException.java
- UnsupportedParameterTypeProcessFilter.java
- WPSException.java
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
extension/wps/wps-core/src/main/java/org/geoserver/wps/DefaultWebProcessingService.java
Java · 3,938 bytes/* (c) 2014 - 2015 Open Source Geospatial Foundation - all rights reserved
* (c) 2001 - 2013 OpenPlans
* This code is licensed under the GPL 2.0 license, available at the root
* application directory.
*/
package org.geoserver.wps;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import net.opengis.wps10.DescribeProcessType;
import net.opengis.wps10.ExecuteResponseType;
import net.opengis.wps10.ExecuteType;
import net.opengis.wps10.GetCapabilitiesType;
import net.opengis.wps10.ProcessDescriptionsType;
import net.opengis.wps10.WPSCapabilitiesType;
import org.geoserver.config.GeoServer;
import org.geoserver.platform.resource.Resource;
import org.geoserver.wps.executor.ProcessStatusTracker;
import org.geoserver.wps.executor.WPSExecutionManager;
import org.geoserver.wps.resource.WPSResourceManager;
import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
/**
* Default Web Processing Service class
*
* @author Lucas Reed, Refractions Research Inc
*/
public class DefaultWebProcessingService implements WebProcessingService, ApplicationContextAware {
protected GeoServer gs;
protected ApplicationContext context;
protected WPSExecutionManager executionManager;
protected WPSResourceManager resources;
private ProcessStatusTracker tracker;
public DefaultWebProcessingService(
GeoServer gs,
WPSExecutionManager executionManager,
WPSResourceManager resources,
ProcessStatusTracker tracker) {
this.gs = gs;
this.executionManager = executionManager;
this.resources = resources;
this.tracker = tracker;
}
/** @see WebMapService#getServiceInfo() */
@Override
public WPSInfo getServiceInfo() {
return gs.getService(WPSInfo.class);
}
/** @see org.geoserver.wps.WebProcessingService#getCapabilities */
@Override
public WPSCapabilitiesType getCapabilities(GetCapabilitiesType request) throws WPSException {
return new GetCapabilities(getServiceInfo(), context).run(request);
}
/** @see org.geoserver.wps.WebProcessingService#describeProcess */
@Override
public ProcessDescriptionsType describeProcess(DescribeProcessType request)
throws WPSException {
return new DescribeProcess(getServiceInfo(), context).run(request);
}
/** @see org.geoserver.wps.WebProcessingService#execute */
@Override
public ExecuteResponseType execute(ExecuteType request) throws WPSException {
return new Execute(executionManager, context).run(request);
}
/** @see org.geoserver.wps.WebProcessingService#getSchema */
@Override
public void getSchema(HttpServletRequest request, HttpServletResponse response)
throws WPSException {
new GetSchema(getServiceInfo()).run(request, response);
}
/** @see org.springframework.context.ApplicationContextAware#setApplicationContext */
@Override
public void setApplicationContext(ApplicationContext context) throws BeansException {
this.context = context;
}
@Override
public Object getExecutionStatus(GetExecutionStatusType request) throws WPSException {
return new GetStatus(tracker, resources, context).run(request);
}
@Override
public Resource getExecutionResult(GetExecutionResultType request) throws WPSException {
return new GetResult(resources).run(request);
}
@Override
public ExecuteResponseType dismiss(DismissType request) throws WPSException {
return new Dismiss(executionManager, tracker, resources, context).run(request);
}
@Override
public Object getExecutions(GetExecutionsType request) throws WPSException {
return new Executions(gs, tracker, resources, context).run(request);
}
}