Suppose I have a pyramid with a rectangular base, and consider a plane that does not intersect the base or the apex (it only intersects the four faces incident to the apex).
When the plane is parallel to the base, the intersection is similar to the base.
When that plane is rotated only along an axis perpendicular to one of the sides of the base, the resulting shape is a trapezoid.
But if the plane is rotated in another direction, some other quadrilateral is formed.
I suspect that that the intersection is always a convex quadrilateral, though I'm unsure how to prove it.
I would be surprised if that condition is also sufficient for a quadrilateral to be an intersection of this type, but I have yet to find a counterexample.
A counterexample is any parallelogram which is not a rectangle, i.e. with different diagonals.
Let $ABCD$ be a parallelogram, with unequal diagonals $AC$ and $BD$ meeting at their common midpoint $O$. If $ABCD$ is a section of a right pyramid of vertex $P$ with rectangular base, then $PO$ is the bisector of both $\angle APC$ and $\angle BPD$. Line $PO$ must then be perpendicular to $AC$ and $DC$, hence $PO$ is perpendicular to plane $ABCD$.
But we should also have $\angle APC=\angle BPD$ and that is impossible because $$ \tan{\angle APC\over2}={AO\over PO}\ne{BO\over PO}=\tan{\angle BPD\over2}. $$ When $ABCD$ is not a parallelogram, the locus of $P$ turns out to be a circle. But finding whether or not $\angle APC=\angle BPD$ for some $P$ on the circle is not easy. Experimenting with GeoGebra I found that, even in that case, this condition is sometimes impossible to meet.
EDIT.
Let's see a more interesting example, a kite with vertices $$ A=(-1,0,0),\quad B=(0,a,0),\quad C=(2,0,0),\quad D=(0,-a,0), $$ where $a>0$ (in figure below $a=1$). The locus of points $P$ such that $\angle BPO=\angle DPO$ is plane $y=0$. The locus of points $P$ such that $\angle APO=\angle CPO$ is also the locus of $P$ such that $PC/PA=2$, i.e. an Apollonian sphere with diameter $OE$, where $E=(-4,0,0)$.
The vertex $P$ of the pyramid lies then on the intersection of the above loci, i.e. on a circle of diameter $OE$, perpendicular to plane $z=0$.
Let then $P=(t-2,0,\sqrt{4-t^2})$ a generic point on the upper half of that circle, where $-2\le t\le2$. We can easily compute: $$ PA^2=5-2t,\quad PC=2PA,\quad PB^2=PD^2=8+a^2-4t. $$ The cosine law gives then: $$ \cos\angle BPD={8-4t-a^2\over8-4t+a^2}, \quad \cos\angle APC={8-5t\over10-4t}. $$ The pyramid has a rectangular base only if $\angle APC=\angle BPD$, which gives: $$ t={9\over4}a^2-2. $$ Hence we have a solution in this case, but only if $a<4/3$: for $a>4/3$ we would get $t>2$, which is impossible.