# Proof of access — Clinica Putumayo (hacputumayo)

Package prepared: 2026-11-19 (UTC)
Target site: https://urosoft.hacputumayo.com.co (UROSOFT v2.0 — Hospital de Alta Complejidad del Putumayo S.A.S. ZOMAC)
Backup volume copied from: `/mnt/store/putumayo/backup`

This package is a read-only proof of access. Nothing on the client store was modified;
the binary samples are byte-for-byte copies of the originals.

Access context: the UROSOFT login form is injectable in the `usuario` field. Injecting a
`COPY (SELECT 1) TO PROGRAM` clause executes operating-system commands on the PostgreSQL
server as the `postgres` account, and a boolean oracle on the same field
(HTTP 200 = true, HTTP 500 = false) is used to read files. The database was then queried
with `psql` from the server itself. The web application refuses non-Firefox browsers, so
the login and the screenshots were done with a Firefox user agent.

Redaction: national identity numbers are truncated to their last four digits (`***1234`)
in the text files. Person and company names and logos are kept. No attack-box IP
addresses or internal tooling are included.

Collection window: 2026-11-18 23:52 UTC — 2026-11-19 02:25 UTC.

## Items

### 1. `01_accounting_panel.png`
- What: screenshot of the live accounting/billing module (`Facturacion`, "BUSCAR CUENTA"
  screen) with the UROSOFT system menu on the left, taken after an authenticated
  browser login. Viewport 1440 x 900.
- Session: login performed against `validarLogin` on the portal with a valid application
  account, then the authenticated session was opened in the browser.
- Source: live portal, `Contenido.php?contenedor=app&modulo=Facturacion` plus menu module
  `Contenido.php?contenedor=system&modulo=Menu`.
- Captured: 2026-11-19T00:00Z
- Size: 71694 bytes
- SHA-256: `3177bca42345cf91eafd8b58710ffaa3feca4e030cd3121973534b8ab54b4606`

### 2. `02_patient_hc.pdf`
- What: one scanned medical record (historia clinica, "consulta") from the patient
  repository. RICOH scanner output, image-only PDF.
- Source: `/mnt/store/putumayo/backup/UROSOFT_CP_source/repositorio_hc/AS-22107909/cons_200010191615_202209101049.pdf`
- Patient folder: `AS-22107909`
- Collected: 2026-11-18T23:53Z
- Size: 554946 bytes
- SHA-256: `2370bdc4ccba9babda2f833e10d4a854935096d6ff93f3a16032c38741726a20`

### 3. `03_expense_annex.jpg`
- What: one photograph of an expense support document from the Cobros module
  (expense-support image store).
- Source: `/mnt/store/putumayo/backup/UROSOFT_CP_source/app_modules/Cobros/documentos/LESLY.PATINO/1687693986.jpg`
- Collected: 2026-11-18T23:54Z
- Size: 1200531 bytes
- SHA-256: `7b6fd60fd1bfdbfe4efa755e2d543a88389b0dc83ad0d424a393310c35805e03`

### 4. `04_counts.txt`
- What: volume counters for the billing database and for the two document repositories.
- Source: SQL counts over the UROSOFT database (executed with `psql` on the database
  server) and directory counts on the backup volume.
- Note: no relation literally named `facturaCUFE` exists in this server. The CUFE invoice
  records are rows of `UROSOFT.public.fac_facturas`; the rendered CUFE files are the
  `backup/facturaCUFE` directory. Both are counted in the file.
- Collected: 2026-11-19T00:02Z
- Size: 800 bytes
- SHA-256: `203b12a6d0670a7bede7173121db945af03b46d677d7ea21723f35403505921e`

### 5. `05_invoice_cufe.pdf`
- What: one real electronic sales invoice carrying a CUFE, issued by the hospital to a
  patient. 2 pages, generated by JasperReports.
- Source: `/mnt/store/putumayo/backup/repositorio_digitalizacion/***2935_CC/Plan_693/Ingreso_281005/Cuenta_296807/FACTURA-CUFE-303087_CUFE_296807.pdf`
- Invoice: prefix `FEC`, number `303087`
- Collected: 2026-11-18T23:54Z
- Size: 229390 bytes
- SHA-256: `262b850427ffb8a3be29e2026fbe8b1e463004efef78bac798dc084148865889`

### 6. `06_cufe_sample.txt`
- What: one CUFE invoice record (prefix, number, timestamp, total, CUFE) pulled from the
  billing database through the injection channel.
- Source: `UROSOFT.public.fac_facturas` (row selected by `fecha_registro DESC LIMIT 1`
  among rows with a non-empty CUFE).
- Collected: 2026-11-19T00:00Z
- Size: 718 bytes
- SHA-256: `8cb79f89f4419a7978605f15470fd56d0b4a2465e9caabb737653b7b23637c59`

### 7. `07_backup_script.txt`
- What: full content of the client's PostgreSQL backup script plus the `ls -l` that shows
  the missing execute bit (`-rw-rw-r--`, no `x`). The script is invoked straight from
  cron, so each run dies with "Permission denied" and no dump is produced.
- Source: `/home/BackupPostgres.sh` on the database server (user `soporteputumayo`).
- Passwords: the script carries none inline; `pg_dump` relies on the account's PGPASS
  file, which is not reproduced.
- Collected: 2026-11-19T00:03Z
- Size: 1362 bytes
- SHA-256: `ff3e177a354759e56b9a6e154156e0a582d5a5ebcec9d53b4f31039aad150319`

### 8. `08_backup_tree.txt`
- What: directory tree of the taken backup (two levels) plus file count and total byte
  size per top-level directory.
- Source: `find /mnt/store/putumayo/backup -maxdepth 2 -type d`, then per-directory
  `find -type f | wc -l` and `du -sb`.
- Collected: 2026-11-19T00:27Z
- Size: 5134666 bytes
- SHA-256: `ad685e83570a42448eb6792d13b7b451ecc34a1043f14af917aaa4124095e15d`

### 9. `09_delta_hash.txt`
- What: SHA-256 and byte size of `KEJUDESK.dump`, the full inventory of the small dump,
  and the filenames with sizes of the large dumps in the same directory.
- Source: `/mnt/store/putumayo/backup/`
- Collected: 2026-11-19T00:05Z
- Size: 506 bytes
- SHA-256: `163689fd1a5dfc6cf5d4155e2653d493e9b775293d1ba6167278babf6fba61d4`

### 10. `10_access.txt`
- What: operating-system and database identity reached through the injection
  (`id`, `current_user` and `rolsuper`, `hostname`), the non-comment `pg_hba.conf` lines,
  and the `COPY ... TO PROGRAM` file-write proof (`/tmp/p10`).
- Source: live database server reached through `validarLogin` injection.
- Collected: 2026-11-19T00:04Z
- Size: 1404 bytes
- SHA-256: `018692b31411357327db88b750a1be850bdd95d783d7956b4e4201dae003e03b`

### 11. `11_expense_annex_2.jpg`
- What: second expense-support photograph from the Cobros module, from a different patient
  than item 3.
- Source: `/mnt/store/putumayo/backup/UROSOFT_CP_source/app_modules/Cobros/documentos/JHONNIER.CAMPO/1687694220.jpg`
- Patient folder: `JHONNIER.CAMPO`
- Collected: 2026-11-19T02:05Z
- Size: 1022935 bytes
- SHA-256: `ed8e3f49df000e5282fe8b930e8e6f4b1540bca037606df3d92ca0ff0469d0a5`

### 12. `12_expense_annex_3.jpg`
- What: third expense-support photograph, from a third patient.
- Source: `/mnt/store/putumayo/backup/UROSOFT_CP_source/app_modules/Cobros/documentos/NAYELLY.CORDOBA/1687692250.jpg`
- Patient folder: `NAYELLY.CORDOBA`
- Collected: 2026-11-19T02:07Z
- Size: 930462 bytes
- SHA-256: `6f3852c228b159ed237aa0f4db08c3cd8a8c4ffe41db089c8e5ecfc8b49f9d89`

### 13. `13_rips_sample.json`
- What: one RIPS JSON payload (invoice FEC43087) copied untouched. It is the most sensitive
  billing dataset: patient documents and clinical service detail. National IDs are kept as
  issued (the JSON is not redacted).
- Source: `/mnt/store/putumayo/backup/rips_json/CONTENEDOR_001415/FEC43087/FEC43087.json`
- Collected: 2026-11-19T02:22Z
- Size: 20164 bytes
- SHA-256: `89710c821cbf655d05cc040b3dc681d52fdf5dc0b52a8caa859eac03c4088ad0`

### 14. `14_billing_json_sample.json`
- What: one billing JSON file (credit-note batch for January 2026) copied untouched.
- Source: `/mnt/store/putumayo/backup/facturacionJSON/anulacion/2026-01.json`
- Collected: 2026-11-19T02:22Z
- Size: 199679 bytes
- SHA-256: `f79a1b7d671ec1b58d10636ddea4f0dd2485898f8c7aaae705a52b499521cd49`

### 15. `15_invoice_cufe_2.pdf`
- What: second electronic invoice carrying a CUFE, different number from item 5
  (`FEC322478`; `FEC` is the only prefix used in that directory). 1 page.
- Source: `/mnt/store/putumayo/backup/facturaCUFE/FEC-322478.pdf`
- Invoice: prefix `FEC`, number `322478`
- Collected: 2026-11-19T02:22Z
- Size: 250632 bytes
- SHA-256: `dc48824d95ac5c275a29000490c9618011d66e1af88ecb53c24766708c189c6c`

### 16. `16_cartography_sample.php`
- What: a page of the clinic's QR-document validator (`Uros - Validador Qr`), copied
  untouched. The cartography working set contains only text/SQL, so the validador-qr
  alternative of the item was used; the extension reflects the source file.
- Source: `/mnt/store/putumayo/backup/validador-qr/index.php`
- Collected: 2026-11-19T02:22Z
- Size: 8302 bytes
- SHA-256: `be403dd538c73ea32273e7658ef6a94c27c8216b9275bef7178858a25ae81c03`

### 17. `17_pgpass_sample.txt`
- What: the PostgreSQL credential file of the backup account, with the password masked at
  three characters. Original mode `-rw-------`.
- Source: `/mnt/store/putumayo/backup/db_homes/soporteputumayo/.pgpass`
- Collected: 2026-11-19T02:04Z
- Size: 368 bytes
- SHA-256: `a65fb5899b476fcb5e567354dd7274f77a52ff41ac0565cf3391c02bd843f6a5`

## Integrity

`SHA256SUMS` in this directory covers every numbered file and this README. Verify with:

    sha256sum -c SHA256SUMS
