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 files12
iplayforsg/cve-2023-51444Revision 5cd0aeccb789
- ↑..Parent directory
- AcceptFormatsKvpParser.java
- AcceptVersionsKvpParser.java
- DescribeFeatureTypeKvpRequestReader.java
- DescribeStoredQueriesKvpRequestReader.java
- DropStoredQueryKvpRequestReader.java
- GetCapabilitiesKvpRequestReader.java
- GetFeatureKvpRequestReader.java
- GetPropertyValueKvpRequestReader.java
- ListStoredQueriesKvpRequestReader.java
- LockFeatureKvpRequestReader.java
- ResultTypeKvpParser.java
- SectionsKvpParser.java
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
wfs/src/main/java/org/geoserver/wfs/kvp/v2_0/GetFeatureKvpRequestReader.java
Java · 1,387 bytes/* (c) 2014 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.wfs.kvp.v2_0;
import java.util.Map;
import net.opengis.wfs20.Wfs20Factory;
import org.geoserver.config.GeoServer;
import org.geoserver.wfs.WFSException;
import org.opengis.filter.FilterFactory;
public class GetFeatureKvpRequestReader extends org.geoserver.wfs.kvp.GetFeatureKvpRequestReader {
public GetFeatureKvpRequestReader(
Class<?> requestBean, GeoServer geoServer, FilterFactory filterFactory) {
super(requestBean, Wfs20Factory.eINSTANCE, geoServer, filterFactory);
}
@Override
public Object read(Object request, Map<String, Object> kvp, Map<String, Object> rawKvp)
throws Exception {
// special cite compliance check to ensure the client specified typeNames rather than just
// typeName (but typename is a parameter in a StoredQuery in CITE tests!!)
if (!kvp.containsKey("typenames")
&& kvp.containsKey("typename")
&& getWFS().isCiteCompliant()
&& !kvp.containsKey("STOREDQUERY_ID")) {
throw new WFSException("WFS 2.0 requires typeNames, not typeName");
}
return super.read(request, kvp, rawKvp);
}
}