Exploit database

GH-28ea97e4009e508de4f25a9b6de6263f

h0cksr/fastjson--cve-2017-18349-

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2017-18349

4 sources

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

Repository files3

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

src/main/java/org/vulhub/fastjsondemo/User.java

Java · 620 bytes
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package org.vulhub.fastjsondemo;

import com.alibaba.fastjson.annotation.JSONField;

public class User {
    @JSONField
    private String name;
    @JSONField
    private Integer age;

    public User() {
    }

    public String getName() {
        return this.name;
    }

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

    public Integer getAge() {
        return this.age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
}