You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2025-09-30T07:19:33Z info Created project name=devfe-pipeleek-renovate-autodiscovery-poc url=https://gitlab.com/myuser/devfe-pipeleek-renovate-autodiscovery-poc
58
58
2025-09-30T07:19:35Z debug Created file fileName=renovate.json
59
-
2025-09-30T07:19:35Z debug Created file fileName=build.gradle
60
-
2025-09-30T07:19:36Z debug Created file fileName=gradlew
61
-
2025-09-30T07:19:36Z debug Created file fileName=gradle/wrapper/gradle-wrapper.properties
59
+
2025-09-30T07:19:35Z debug Created file fileName=pom.xml
60
+
2025-09-30T07:19:36Z debug Created file fileName=mvnw
61
+
2025-09-30T07:19:36Z debug Created file fileName=.mvn/wrapper/maven-wrapper.properties
62
62
2025-09-30T07:19:37Z debug Created file fileName=exploit.sh
63
-
2025-09-30T07:19:37Z info This exploit works by using an outdated Gradle wrapper version (7.0) that triggers Renovate to run './gradlew wrapper'
64
-
2025-09-30T07:19:37Z info When Renovate updates the wrapper, it executes our malicious gradlew script which runs exploit.sh
63
+
2025-09-30T07:19:37Z info This exploit works by using an outdated Maven wrapper version that triggers Renovate to run './mvnw wrapper:wrapper'
64
+
2025-09-30T07:19:37Z info When Renovate updates the wrapper, it executes our malicious mvnw script which runs exploit.sh
65
65
2025-09-30T07:19:37Z info Make sure to update the exploit.sh script with the actual exploit code
66
66
2025-09-30T07:19:37Z info Then waituntil the created project is renovated by the invited Renovate Bot user
Short: "Create a PoC for Renovate Autodiscovery misconfigurations exploitation",
21
-
Long: "Create a repository with a Renovate Bot configuration that will be picked up by an existing Renovate Bot user. The Renovate Bot will execute the malicious Gradle wrapper script during dependency updates, which you can customize in exploit.sh. Note: On GitHub, the bot/user account must proactively accept the invite.",
21
+
Long: "Create a repository with a Renovate Bot configuration that will be picked up by an existing Renovate Bot user. The Renovate Bot will execute the malicious Maven wrapper script during dependency updates, which you can customize in exploit.sh. Note: On GitHub, the bot/user account must proactively accept the invite.",
22
22
Example: `
23
-
# Create a repository and invite the victim Renovate Bot user to it. Uses Gradle wrapper to execute arbitrary code during dependency updates.
23
+
# Create a repository and invite the victim Renovate Bot user to it. Uses the Maven wrapper to execute arbitrary code during dependency updates.
Short: "Create a PoC for Renovate Autodiscovery misconfigurations exploitation",
21
-
Long: "Create a project with a Renovate Bot configuration that will be picked up by an existing Renovate Bot user. The Renovate Bot will execute the malicious Gradle wrapper script during dependency updates, which you can customize in exploit.sh.",
21
+
Long: "Create a project with a Renovate Bot configuration that will be picked up by an existing Renovate Bot user. The Renovate Bot will execute the malicious Maven wrapper script during dependency updates, which you can customize in exploit.sh.",
22
22
Example: `
23
-
# Create a project and invite the victim Renovate Bot user to it. Uses Gradle wrapper to execute arbitrary code during dependency updates.
23
+
# Create a project and invite the victim Renovate Bot user to it. Uses the Maven wrapper to execute arbitrary code during dependency updates.
0 commit comments