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 files6

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

community/gsr/src/main/java/org/geoserver/gsr/model/service/CatalogService.java

Java · 2,760 bytes
/* (c) 2020 Open Source Geospatial Foundation - all rights reserved
 * This code is licensed under the GPL 2.0 license, available at the root
 * application directory.
 */

/* Copyright (c) 2013 - 2017 Boundless - http://boundlessgeo.com All rights reserved.
 * This code is licensed under the GPL 2.0 license, available at the root
 * application directory.
 */
package org.geoserver.gsr.model.service;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import java.util.List;
import org.geoserver.gsr.model.AbstractGSRModel;

/**
 * Root Catalog service, listing all other services
 *
 * @author Juan Marin, OpenGeo
 */
@XStreamAlias(value = "")
public class CatalogService extends AbstractGSRModel implements AbstractService {

    private String name;

    private ServiceType type;

    private Double specVersion;

    private String productName;

    private Double currentVersion;

    private List<String> folders;

    private List<AbstractService> services;

    @JsonIgnore
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @JsonIgnore
    public ServiceType getType() {
        return type;
    }

    public void setType(ServiceType serviceType) {
        this.type = serviceType;
    }

    @JsonIgnore
    public Double getSpecVersion() {
        return specVersion;
    }

    public void setSpecVersion(Double specVersion) {
        this.specVersion = specVersion;
    }

    @JsonIgnore
    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public double getCurrentVersion() {
        return currentVersion;
    }

    public void setCurrentVersion(double currentVersion) {
        this.currentVersion = currentVersion;
    }

    public List<String> getFolders() {
        return folders;
    }

    public void setFolders(List<String> folders) {
        this.folders = folders;
    }

    public List<AbstractService> getServices() {
        return services;
    }

    public void setServices(List<AbstractService> services) {
        this.services = services;
    }

    public CatalogService(
            String name,
            double specVersion,
            String productName,
            double currentVersion,
            List<String> folders,
            List<AbstractService> services) {
        this.name = name;
        this.type = ServiceType.CatalogServer;
        this.specVersion = specVersion;
        this.productName = productName;
        this.currentVersion = currentVersion;
        this.folders = folders;
        this.services = services;
    }
}