id: privesc-julia info: name: Julia - Privilege Escalation author: daffainfo severity: high description: | Julia is a high-level, high-performance programming language for technical computing. It is designed for numerical and scientific computing, but it is also used for general-purpose programming. Julia is known for its speed and ease of use, and it has a growing community of users and developers. reference: - https://gtfobins.github.io/gtfobins/julia/ metadata: verified: true tags: code,linux,julia,privesc self-contained: true code: - engine: - sh - bash source: | whoami - engine: - sh - bash source: | julia -e 'run(`whoami`)' - engine: - sh - bash source: | sudo julia -e 'run(`whoami`)' matchers-condition: and matchers: - type: word part: code_1_response words: - "root" negative: true - type: dsl dsl: - 'contains(code_2_response, "root")' - 'contains(code_3_response, "root")' condition: or # digest: 490a00463044022008cde511c19f2e81af9ea724afbfb70af2b46b90969efa5dd93fc95214e0fe5602200da4093ad99901bf9d7c8d6dc7c222dce24b38ec0de355c37560a48fc5d87e91:922c64590222798bb761d5b6d8e72950