Exploit database

GH-9a017fa45abc7e1f8f6ba6e1285cae54

iplayforsg/cve-2023-51444

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2023-51444

1 source

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.

Repository files20

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

community/ogcapi/ogcapi-styles/src/main/java/org/geoserver/ogcapi/styles/StyleServiceXStreamLoader.java

Java · 1,008 bytes
/* (c) 2019 Open Source Geospatial Foundation - all rights reserved
 * This code is licensed under the GPL 2.0 license, available at the root
 * application directory.
 */
package org.geoserver.ogcapi.styles;

import org.geoserver.config.GeoServer;
import org.geoserver.config.util.XStreamServiceLoader;
import org.geoserver.platform.GeoServerResourceLoader;
import org.springframework.stereotype.Component;

@Component
public class StyleServiceXStreamLoader extends XStreamServiceLoader<StylesServiceInfo> {

    public StyleServiceXStreamLoader(GeoServerResourceLoader resourceLoader) {
        super(resourceLoader, "styles");
    }

    @Override
    protected StylesServiceInfo createServiceFromScratch(GeoServer gs) {
        StylesServiceInfoImpl info = new StylesServiceInfoImpl();
        info.setName("styles");
        info.setTitle("Styles server");
        return info;
    }

    @Override
    public Class<StylesServiceInfo> getServiceClass() {
        return StylesServiceInfo.class;
    }
}