I know that, for the vectors to be perpendicular, their cross product must equal $0$. i.e. $w = u \times v$, where $u = (1,2,a)$ and $v = (2,(1-b),3)$
From that, I got $w = ( (6-a+ab), (-3+2a), (-b-3) )$
When checking, $w \cdot u$ and $w \cdot v$ must equal $0$
This does occur, but I am no closer to finding what $a$ and $b$ are

Note that we can write $$u \cdot v = |u| |v| \cos \theta$$ where $\theta$ is the angle between $u$ and $v$ (where $u,v$ are vectors). So, if we want the vectors to be perpendicular, we want $\theta = \pi/2$ so that the RHS is zero. In particular, two vectors are perpendicular if $u \cdot v = 0$. For $u = (1,2,a)$ and $v = (2,(1-b),3)$ we have $$ u \cdot v = 2 + 2(1-b) + 3a$$ so that, setting this equal to zero, $$4 - 2b + 3a = 0 \implies 3a -2b = -4$$ for them to be perpendicular.