10. LibRSVG
Written in Rust; code is clean
Not that much security vulnerabilities
Used to depend on libgdk-pixbuf for raster
images (not the case anymore)
12. Uninitialized Memory Leak In Preview
1
2
3
Same server process
Some business flow
unallocated
memory
SECRET SECRET
malloc()
store data
free()
Buggy library
SECRET SECRET 🖼️
malloc() no overwrite
generate preview
🖼️ 👾 SECRET
download recover
13. Uninitialized Memory Leak In Preview
Prerequisite: The vulnerable library must
be used in the same system-level process
as the sensitive information
20. BaseCamp
Dumped memory contained part of a config file with AWS keys...
Ne|rĎty7h6jl=Qj~lpI3>=wproduction_s3_primary:
service: S3
access_key_id: AKIAS5PME4CT5QW2PJJU
secret_access_key: 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
region: us-east-2
bucket: bc3-production-us-east-2
upload:
storage_class: INTELLIGENT_TIERING
:=ǖ%zcf^vl+_L]=WNBC>tAfDhhUBh+"+fa#
21. BaseCamp
... that were allowed to be used from the outside of BaseCamp!
$ AWS_DEFAULT_REGION=us-east-2
AWS_ACCESS_KEY_ID=AKIAS5PME4CT5QW2PJJU
AWS_SECRET_ACCESS_KEY=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
aws sts get-caller-identity
{
"UserId": "AIDAJ3SCYTQTFCJH2TKGY",
"Account": "200748097703",
"Arn": "arn:aws:iam::200748097703:user/bc3-storage"
}
22. PostScript
Vector image format
Also, a programming language (for printers)
GhostScript is the most common server-side
interpreter (directly or as a dependency)
27. Isolated Means Isolated
No infrastructure access
No network access (both internal and the
internet)
No container reuse for different users
No sensitive configs in the container