Exploit database

GH-56925af93d15a61c28d503ecfb461a75

seck19/cve-2026-101767-poc

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-101767

1 source

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

Repository files3
seck19/cve-2026-101767-pocRevision e0933848db1f

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

src/harness/Config.java

Java · 2,182 bytes
package harness;

/**
 * Runtime configuration for the TCF lab.
 *
 *   TCF_DB_URL      jdbc:oracle:thin:@oracle-db:1521/XEPDB1
 *   TCF_DB_USER     apps
 *   TCF_DB_PASS     apps123
 *   TCF_AUTH_MODE   none | guest | strict      (default: guest)
 *   TCF_FUNCSEC     permissive | strict        (default: permissive)
 *   TCF_ICX_COOKIE  ERPSEC
 *   TCF_LOG_LEVEL   0..6                       (default: 2)
 */
public final class Config {

    private Config() {
    }

    public static String get(String key, String def) {
        String env = System.getenv(key.replace('.', '_').toUpperCase());
        if (env != null && env.length() > 0) {
            return env;
        }
        String prop = System.getProperty(key);
        if (prop != null && prop.length() > 0) {
            return prop;
        }
        env = System.getenv(key);
        return (env != null && env.length() > 0) ? env : def;
    }

    public static boolean bool(String key, boolean def) {
        String v = get(key, String.valueOf(def));
        return "true".equalsIgnoreCase(v) || "1".equals(v) || "yes".equalsIgnoreCase(v);
    }

    public static int integer(String key, int def) {
        try {
            return Integer.parseInt(get(key, String.valueOf(def)));
        } catch (NumberFormatException e) {
            return def;
        }
    }

    public static String dbUrl() {
        return get("TCF_DB_URL", get("tcf.db.url", "jdbc:oracle:thin:@oracle-db:1521/XEPDB1"));
    }

    public static String dbUser() {
        return get("TCF_DB_USER", get("tcf.db.user", "apps"));
    }

    public static String dbPass() {
        return get("TCF_DB_PASS", get("tcf.db.pass", "apps123"));
    }

    public static String authMode() {
        return get("TCF_AUTH_MODE", get("tcf.auth.mode", "guest")).toLowerCase();
    }

    public static String funcSecMode() {
        return get("TCF_FUNCSEC", get("tcf.funcsec.mode", "permissive")).toLowerCase();
    }

    public static String icxCookie() {
        return get("TCF_ICX_COOKIE", get("tcf.icx.cookie", "ERPSEC"));
    }

    public static int logLevel() {
        return integer("TCF_LOG_LEVEL", integer("tcf.loglevel", 2));
    }
}